[FIXED] labelImg: 'pyrcc5' is not recognized as an internal or external command


I’m trying to install lalbelImg for The Tensorflow Object Detection API.

Everything is going well until I try to run the command:

pyrcc5 -o libs/resources.py resources.qrc

It give me error:

'pyrcc5' is not recognized as an internal or external command,
 operable program or batch file.

I’m on Windows 10 and have Python 3.5.4

I’m following the tutorial for windows on tzutalin’s Github.

Link: https://github.com/tzutalin/labelImg#user-content-windows

PS: I don’t use Anaconda.


Turns out I have to give the full directories.

C:\Python35\Scripts\pyrcc5 -o C:\Desktop\labelImg\libs\resources.py C:\Desktop\labelImg\resources.qrc

Copy Paste that and change the directories if needed.

Have an awesome day! – CodeLover

Answered By – code lover

Answer Checked By – David Marino (Easybugfix Volunteer)

Leave a Reply

(*) Required, Your email will not be published