<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi All,<div>I've installed QGis desktop 3.6.0 from the OSGeo4w web installer on my windows 10 machine. This most recent time with a default express-install. I tried various things before on a different win7 machine and I thought maybe a completely fresh install on a newer computer would work better, so this was all the first time install on this machine.</div><div><br></div><div>Once I install and run the plugin "Plugin Builder3" , fill out the dialogs then press "generate" to get a basic plugin framework made for me, I get the error: "<span style="white-space:pre-wrap">The resource compiler pyrcc5 was not found in your path. You'll have to manually compile the resources.qrc file with pyrcc5 before installing your plugin."</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">I saw a stackexchange question that seems to solve this problem, <a href="https://gis.stackexchange.com/questions/273552/pyrcc5-is-not-recognized-as-an-internal-or-external-command">https://gis.stackexchange.com/questions/273552/pyrcc5-is-not-recognized-as-an-internal-or-external-command</a></span></div><div><span style="white-space:pre-wrap">Run some bat files to get the right directories added to the path. That seems to allow me to build the resource as a one off</span><span style="white-space:pre-wrap">.</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">I believe the next step is to deploy using pb_tool. I don't have that, so </span><span style="white-space:pre-wrap">I installed pb_tool from the OSGeo4w shell with,  "pip install pb_tool" </span></div><div><span style="white-space:pre-wrap">but then I get errors when running "pb_tool deploy"  in my plugin directory,</span></div><div><span style="white-space:pre-wrap">"pyuic4 is not in your path---unable to compile your ui files
pyrcc4 is not in your path---unable to compile your resource file(s)"</span><br></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Seems like a path issue again, so I run the bat files from the stackexchange answer to add them again in my osgeo4w shell, then I get this:</span></div><div><span style="white-space:pre-wrap">C:\MyFiles\Medina\Generated_Plugin_Code\topology_edit>pb_tool deploy
  File "C:\OSGEO4~1\apps\Python37\lib\site.py", line 177
    file=sys.stderr)</span><br></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">which seems very odd to me. I don't think I should try to solve syntax errors in teh python scripts. I feel like I must be doing something wrong here, or there is a bug in the install that doesn't include these things automatically, I assume the idea would be to have all the tools needed installed by default.</span></div><div><span style="white-space:pre-wrap"><br></span></div><div>I can get the plugin deployed by manually building the resources with the stackexchange  bat file advice, then manually copy it to the plugin directory, but I thought I would report my experience in case there was an easy way that allows me to use pb_tool and automate that.</div><div><span style="white-space:pre-wrap">Cheers,</span></div><div><span style="white-space:pre-wrap">-Jeff</span></div><div><span style="white-space:pre-wrap"><br></span></div></div></div></div></div>