-
Notifications
You must be signed in to change notification settings - Fork 6.3k
labelImg crashes at launch when installed as an app on macOS #321
Comments
Thanks for bringing this to our attention, I'll try to take a look into it when I get the chance. But in the meantime I would recommend running labelImg from the "Python 3 + Qt5 (Works on macOS High Sierra)" instructions here |
Has there been any progress on this issue? |
I was able to get this running: |
I encountered the same error message. This happens if the python framework is not found when running py2app. So what I recommend is like the following:
This is how I fix the issue. |
Hello I tried to follow the instructions in the README.rst to install labelImg as an app on macOS but I have the following error message "labelImg has encountered a fatal error, and will now terminate." when I am trying to launch it once I successfully completed the installation:
I used this manual installation:
brew install python3 pip install pipenv pipenv --three pipenv shell pip install py2app pip install PyQt5 lxml make qt5py3 rm -rf build dist python setup.py py2app -A mv "dist/labelImg.app" /Applications
Moreover, I had to modify my
~/.bash_profile.
to solve a localization problem when usingpipenv --three
. I added the following lines (source):I don't know if this could be the problem or not but I am also using Anaconda and therefore my python version is the following:
Python 3.6.5 :: Anaconda, Inc.
Thanks a lot for your time.
The text was updated successfully, but these errors were encountered: