LableImg Not Found

When running the command “python3 /home/user/.labelImg/labelImg.py” in Webshell #1, I get a result of :

user:~$ python3 /home/user/.labelImg/labelImg.py
python3: can’t open file ‘/home/user/.labelImg/labelImg.py’: [Errno 2] No such file or directory`

Hey @sykw625,
does the file exist and did you make it executable with chmod +x filename.py ?

1 Like

That’s a good idea, but where is labelImg.py to begin with? Isn’t it supposed to be preinstalled in this course directory for me at “/home/user/.labelImg”?

I tried to go into /home/user/.labelImg/ and ran “git clone https://github.com/tzutalin/labelImg.git” to clone the program into the course directory .labelImg but upon running labelImg.py, I get a “ImportError: No module named ‘libs.resources’”

I had to install labelImg using “git clone https://github.com/tzutalin/labelImg.git” and then install pyqt5 to clear the libs.resources error:

sudo apt-get install pyqt5-dev-tools
sudo pip3 install -r requirements/requirements-linux-python3.txt
make qt5py3

I shouldn’t need to be doing this considering the course is supposed to have everything installed in its workspace ready to go.

1 Like