while running pyrcc5 -o libs/resources.py resources.qrc, I ran in to this error:
'pyrcc5' is not recognized as an internal or external command, operable program or batch file.
So I looked online and found a solution to give the full directories (here). I changed the code into
if os.name =='nt': !cd {LABELIMG_PATH} && D:\python\Scripts\pyrcc5.exe -o D:\python\venv_tf-object-detect\Lib\site-packages\pip\_vendor\distlib\resources.py D:\python\venv_tf-object-detect\labelimg\resources.qrc
but then when running the next cell !cd {LABELIMG_PATH} && python labelImg.py I got this error
Traceback (most recent call last):
File "D:\python\venv_tf-object-detect\labelimg\labelImg.py", line 29, in
from libs.resources import *
ModuleNotFoundError: No module named 'libs.resources'
does anyone know the solution to this? thanks in advance!
while running
pyrcc5 -o libs/resources.py resources.qrc
, I ran in to this error:So I looked online and found a solution to give the full directories (here). I changed the code into
if os.name =='nt': !cd {LABELIMG_PATH} && D:\python\Scripts\pyrcc5.exe -o D:\python\venv_tf-object-detect\Lib\site-packages\pip\_vendor\distlib\resources.py D:\python\venv_tf-object-detect\labelimg\resources.qrc
but then when running the next cell
!cd {LABELIMG_PATH} && python labelImg.py
I got this errordoes anyone know the solution to this? thanks in advance!