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 using pipenv --three. I added the following lines (source):
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
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.
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:
Execute these:
brew install python3
pip install pipenv
pipenv --three
pipenv shell
pip install py2app
pip install PyQt5 lxml
Unzip the labelImg downloaded from聽https://github.com/tzutalin/labelImg ,聽and execute the following
cd labelImg-master
brew install qt qt5
brew install libxml2
brew install pyqt5
make qt5py3
rm -rf build dist
python setup.py py2app -A
mv "dist/labelImg.app" /Applications
this should fix it.
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.
Most helpful comment
I was able to get this running:
Execute these:
brew install python3
pip install pipenv
pipenv --three
pipenv shell
pip install py2app
pip install PyQt5 lxml
Unzip the labelImg downloaded from聽https://github.com/tzutalin/labelImg ,聽and execute the following
cd labelImg-master
brew install qt qt5
brew install libxml2
brew install pyqt5
make qt5py3
rm -rf build dist
python setup.py py2app -A
mv "dist/labelImg.app" /Applications
this should fix it.