'pyrcc5' is not recognized as an internal or external command (Python PyQt5 & LabelImg)

2.6k Views Asked by At

Installed pyqt5 and lxml via pip for labelimg but receiving the error when trying to execute pyrcc5:

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

Using anaconda therefore it has installed to miniconda3\envs\tf\Lib\site-packages\pyqt5. Adding the directory to system path has not helped.

Reinstalled pyqt5, no luck

EDIT: SOLVED BY INSTALLING TO THE BASE CONDA ENVIRONMENT WITH PIP pip install pyqt5 pip install lxml

1

There are 1 best solutions below

1
On

Something similar to this : labelImg: 'pyrcc5' is not recognized as an internal or external command

Are you sure that what you set in PATH is the full directory pointing to where pyrcc5.exe is found?