'pyrcc4' is not recognized as an internal or external command? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?pyrcc4 command not recognized as internal or external command?Command line error and missing dependency in QGISqgis2web python error messageQGIS2Leaf fails with AttributeError: 'QgsMarkerLineSymbolLayerV2' object has no attribute 'penStyle'gdal_merge not working in GDAL 201 windows install“Couldn't load plugin mmqgis due to an error when calling its classFactory() method”Making 'make'-command work for compiling QGIS-plugins?'gdalwarp' is not recognized in Python3.6Qgis 3.0 migration pyrcc5 issueOS.PATH pluginspyrcc4 command not recognized as internal or external command?

What initially awakened the Balrog?

Delete free apps from Play Store library

Does silver oxide react with hydrogen sulfide?

Constant factor of an array

White walkers, cemeteries and wights

Random body shuffle every night—can we still function?

Why datecode is SO IMPORTANT to chip manufacturers?

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

Is there hard evidence that the grant peer review system performs significantly better than random?

Is it dangerous to install hacking tools on my private linux machine?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Mounting TV on a weird wall that has some material between the drywall and stud

Why is a lens darker than other ones when applying the same settings?

How to ask rejected full-time candidates to apply to teach individual courses?

Sally's older brother

The test team as an enemy of development? And how can this be avoided?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?

Is there any word for a place full of confusion?

How much damage would a cupful of neutron star matter do to the Earth?

What does Turing mean by this statement?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

What is the role of と after a noun when it doesn't appear to count or list anything?

Did any compiler fully use 80-bit floating point?



'pyrcc4' is not recognized as an internal or external command?



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?pyrcc4 command not recognized as internal or external command?Command line error and missing dependency in QGISqgis2web python error messageQGIS2Leaf fails with AttributeError: 'QgsMarkerLineSymbolLayerV2' object has no attribute 'penStyle'gdal_merge not working in GDAL 201 windows install“Couldn't load plugin mmqgis due to an error when calling its classFactory() method”Making 'make'-command work for compiling QGIS-plugins?'gdalwarp' is not recognized in Python3.6Qgis 3.0 migration pyrcc5 issueOS.PATH pluginspyrcc4 command not recognized as internal or external command?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















C:UsersDepartment.qgis2pythonpluginsnp>pyrcc4 -py2 resources.qrc -o resources.py



'pyrcc4' is not recognized as an internal or external command,



operable program or batch file.




How do I solve this problem?










share|improve this question



















  • 1





    Do you use the OSGeo4W Shell for the command? The Windows commander doesn't work in this way. QGIS 2.18.x: The pyrcc4.exe is found in `C:Program FilesQGIS 2.18bin`.

    – Stefan
    Sep 13 '18 at 9:15


















1















C:UsersDepartment.qgis2pythonpluginsnp>pyrcc4 -py2 resources.qrc -o resources.py



'pyrcc4' is not recognized as an internal or external command,



operable program or batch file.




How do I solve this problem?










share|improve this question



















  • 1





    Do you use the OSGeo4W Shell for the command? The Windows commander doesn't work in this way. QGIS 2.18.x: The pyrcc4.exe is found in `C:Program FilesQGIS 2.18bin`.

    – Stefan
    Sep 13 '18 at 9:15














1












1








1








C:UsersDepartment.qgis2pythonpluginsnp>pyrcc4 -py2 resources.qrc -o resources.py



'pyrcc4' is not recognized as an internal or external command,



operable program or batch file.




How do I solve this problem?










share|improve this question
















C:UsersDepartment.qgis2pythonpluginsnp>pyrcc4 -py2 resources.qrc -o resources.py



'pyrcc4' is not recognized as an internal or external command,



operable program or batch file.




How do I solve this problem?







python osgeo4w






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 21 at 20:11









underdark

69.3k13178351




69.3k13178351










asked Sep 13 '18 at 9:02









Prabhath NishanPrabhath Nishan

187




187







  • 1





    Do you use the OSGeo4W Shell for the command? The Windows commander doesn't work in this way. QGIS 2.18.x: The pyrcc4.exe is found in `C:Program FilesQGIS 2.18bin`.

    – Stefan
    Sep 13 '18 at 9:15













  • 1





    Do you use the OSGeo4W Shell for the command? The Windows commander doesn't work in this way. QGIS 2.18.x: The pyrcc4.exe is found in `C:Program FilesQGIS 2.18bin`.

    – Stefan
    Sep 13 '18 at 9:15








1




1





Do you use the OSGeo4W Shell for the command? The Windows commander doesn't work in this way. QGIS 2.18.x: The pyrcc4.exe is found in `C:Program FilesQGIS 2.18bin`.

– Stefan
Sep 13 '18 at 9:15






Do you use the OSGeo4W Shell for the command? The Windows commander doesn't work in this way. QGIS 2.18.x: The pyrcc4.exe is found in `C:Program FilesQGIS 2.18bin`.

– Stefan
Sep 13 '18 at 9:15











2 Answers
2






active

oldest

votes


















4














You should use OSGEO Shell to run this command.



Go to Start Menu and search for OSGEO Shell, and then command prompt window will be open.



Now type cd C:UsersDepartment.qgis2pythonpluginsnp> in the shell, and press enter.



It will set the current directory to the plugin directory.



Now run your pyrcc4 command.



You can also follow detailed tutorial here






share|improve this answer






























    -1














    for me adding the pyrcc4 path to system environment variables made it work
    C:UsersBenBoualiAppDataLocalProgramsPythonPython35Libsite-packagesPyQt4






    share|improve this answer


















    • 1





      In your path, we can read Python35 and PyQt4. This won't work with QGIS. QGIS 3 uses Qt5/PyQt5 and Python 3. QGIS 2 uses Qt4/PyQt4 and Python 2. So there is an incompatibility. You must switch to pyrcc5 with QGIS 3

      – etrimaille
      Apr 12 at 12:51











    • i needed pyrcc4 for compatibility with a few things, i don't need pyrcc all that much i'm just showing people a possible path to the executable, maybe it'd help someone?

      – Kream
      Apr 12 at 18:22












    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "79"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f295811%2fpyrcc4-is-not-recognized-as-an-internal-or-external-command%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    You should use OSGEO Shell to run this command.



    Go to Start Menu and search for OSGEO Shell, and then command prompt window will be open.



    Now type cd C:UsersDepartment.qgis2pythonpluginsnp> in the shell, and press enter.



    It will set the current directory to the plugin directory.



    Now run your pyrcc4 command.



    You can also follow detailed tutorial here






    share|improve this answer



























      4














      You should use OSGEO Shell to run this command.



      Go to Start Menu and search for OSGEO Shell, and then command prompt window will be open.



      Now type cd C:UsersDepartment.qgis2pythonpluginsnp> in the shell, and press enter.



      It will set the current directory to the plugin directory.



      Now run your pyrcc4 command.



      You can also follow detailed tutorial here






      share|improve this answer

























        4












        4








        4







        You should use OSGEO Shell to run this command.



        Go to Start Menu and search for OSGEO Shell, and then command prompt window will be open.



        Now type cd C:UsersDepartment.qgis2pythonpluginsnp> in the shell, and press enter.



        It will set the current directory to the plugin directory.



        Now run your pyrcc4 command.



        You can also follow detailed tutorial here






        share|improve this answer













        You should use OSGEO Shell to run this command.



        Go to Start Menu and search for OSGEO Shell, and then command prompt window will be open.



        Now type cd C:UsersDepartment.qgis2pythonpluginsnp> in the shell, and press enter.



        It will set the current directory to the plugin directory.



        Now run your pyrcc4 command.



        You can also follow detailed tutorial here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 13 '18 at 9:24









        Ahsan MukhtarAhsan Mukhtar

        1,282420




        1,282420























            -1














            for me adding the pyrcc4 path to system environment variables made it work
            C:UsersBenBoualiAppDataLocalProgramsPythonPython35Libsite-packagesPyQt4






            share|improve this answer


















            • 1





              In your path, we can read Python35 and PyQt4. This won't work with QGIS. QGIS 3 uses Qt5/PyQt5 and Python 3. QGIS 2 uses Qt4/PyQt4 and Python 2. So there is an incompatibility. You must switch to pyrcc5 with QGIS 3

              – etrimaille
              Apr 12 at 12:51











            • i needed pyrcc4 for compatibility with a few things, i don't need pyrcc all that much i'm just showing people a possible path to the executable, maybe it'd help someone?

              – Kream
              Apr 12 at 18:22
















            -1














            for me adding the pyrcc4 path to system environment variables made it work
            C:UsersBenBoualiAppDataLocalProgramsPythonPython35Libsite-packagesPyQt4






            share|improve this answer


















            • 1





              In your path, we can read Python35 and PyQt4. This won't work with QGIS. QGIS 3 uses Qt5/PyQt5 and Python 3. QGIS 2 uses Qt4/PyQt4 and Python 2. So there is an incompatibility. You must switch to pyrcc5 with QGIS 3

              – etrimaille
              Apr 12 at 12:51











            • i needed pyrcc4 for compatibility with a few things, i don't need pyrcc all that much i'm just showing people a possible path to the executable, maybe it'd help someone?

              – Kream
              Apr 12 at 18:22














            -1












            -1








            -1







            for me adding the pyrcc4 path to system environment variables made it work
            C:UsersBenBoualiAppDataLocalProgramsPythonPython35Libsite-packagesPyQt4






            share|improve this answer













            for me adding the pyrcc4 path to system environment variables made it work
            C:UsersBenBoualiAppDataLocalProgramsPythonPython35Libsite-packagesPyQt4







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 12 at 12:32









            KreamKream

            1




            1







            • 1





              In your path, we can read Python35 and PyQt4. This won't work with QGIS. QGIS 3 uses Qt5/PyQt5 and Python 3. QGIS 2 uses Qt4/PyQt4 and Python 2. So there is an incompatibility. You must switch to pyrcc5 with QGIS 3

              – etrimaille
              Apr 12 at 12:51











            • i needed pyrcc4 for compatibility with a few things, i don't need pyrcc all that much i'm just showing people a possible path to the executable, maybe it'd help someone?

              – Kream
              Apr 12 at 18:22













            • 1





              In your path, we can read Python35 and PyQt4. This won't work with QGIS. QGIS 3 uses Qt5/PyQt5 and Python 3. QGIS 2 uses Qt4/PyQt4 and Python 2. So there is an incompatibility. You must switch to pyrcc5 with QGIS 3

              – etrimaille
              Apr 12 at 12:51











            • i needed pyrcc4 for compatibility with a few things, i don't need pyrcc all that much i'm just showing people a possible path to the executable, maybe it'd help someone?

              – Kream
              Apr 12 at 18:22








            1




            1





            In your path, we can read Python35 and PyQt4. This won't work with QGIS. QGIS 3 uses Qt5/PyQt5 and Python 3. QGIS 2 uses Qt4/PyQt4 and Python 2. So there is an incompatibility. You must switch to pyrcc5 with QGIS 3

            – etrimaille
            Apr 12 at 12:51





            In your path, we can read Python35 and PyQt4. This won't work with QGIS. QGIS 3 uses Qt5/PyQt5 and Python 3. QGIS 2 uses Qt4/PyQt4 and Python 2. So there is an incompatibility. You must switch to pyrcc5 with QGIS 3

            – etrimaille
            Apr 12 at 12:51













            i needed pyrcc4 for compatibility with a few things, i don't need pyrcc all that much i'm just showing people a possible path to the executable, maybe it'd help someone?

            – Kream
            Apr 12 at 18:22






            i needed pyrcc4 for compatibility with a few things, i don't need pyrcc all that much i'm just showing people a possible path to the executable, maybe it'd help someone?

            – Kream
            Apr 12 at 18:22


















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f295811%2fpyrcc4-is-not-recognized-as-an-internal-or-external-command%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            រឿង រ៉ូមេអូ និង ហ្ស៊ុយលីយេ សង្ខេបរឿង តួអង្គ បញ្ជីណែនាំ

            QGIS export composer to PDF scale the map [closed] Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Print Composer QGIS 2.6, how to export image?QGIS 2.8.1 print composer won't export all OpenCycleMap base layer tilesSave Print/Map QGIS composer view as PNG/PDF using Python (without changing anything in visible layout)?Export QGIS Print Composer PDF with searchable text labelsQGIS Print Composer does not change from landscape to portrait orientation?How can I avoid map size and scale changes in print composer?Fuzzy PDF export in QGIS running on macSierra OSExport the legend into its 100% size using Print ComposerScale-dependent rendering in QGIS PDF output

            PDF-ში გადმოწერა სანავიგაციო მენიუproject page