Open juliusHuelsmann opened 6 years ago
Go to Users\xxx\
delete .labelImgSettings.pkl
,then pyrcc5 -o libs/resources.py resources.qrc
, python labelImg.py
Go to home(~) folder, rm .labelImgSettings.pkl
, then pyrcc5 -o libs/resources.py resources.qrc
, python labelImg.py
If the pyrcc5 command doesn't work, run the following first:
pip install --force-reinstall PyQt5-sip
By using the
labelImg
tool both with python2 and python3, I spotted the following bug ...... that is caused by the Config file (at
~/.labelImgSettings.pkl
) storing the dependencies used during the first execution. When using a different python version now (that has not qt4 installed), loading throws the aforementionedmodule not found error
.As this is only a tiny bug that is unlikely to affect anyone who really uses the tool in production, maybe it is sufficient to notify the user to remove the respective file herself.