Open trueToastedCode opened 1 year ago
Found a workaround:
mkdir ~/labelImg && cd ~/labelImg && python3 -m venv venv && source venv/bin/activate
pip install --upgrade pip && pip install pyqt5 lxml
labelImg
It was 11:30PM when I decided to install labelImg on my M1 system. The usual installation didn't work so I started searching for solutions and as a result installed many random Python libraries that were supposed to solve the problem.
It didn't work.
Then I decided to setup virtual environments. I even read @trueToastedCode 's workaround and created new Rosetta Terminal on my machine.
But it didn't work.
I am going to take a shower.
Then I will go to bed.
When I wake up I will probably buy a new computer because this mac will never recover from the amount commands and libraries that I force fed it with the terminal just so that I could label images at midnight.
Absolutely crazy 😂
edit:
Meanwhile Label Studio:
docker pull heartexlabs/label-studio:latest
docker run -it -p 8080:8080 -v `pwd`/mydata:/label-studio/data heartexlabs/label-studio:latest
Is there a difference? I will find out tomorrow.
@developer239 did you get labelImg working on your M1?
I created a docker image but getting this error
root@1b6b364105be:/# labelImg
qt.qpa.xcb: could not connect to display /private/tmp/com.apple.launchd.DIUKRoRocN/org.xquartz:0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
root@1b6b364105be:/# echo $DISPLAY
/private/tmp/com.apple.launchd.DIUKRoRocN/org.xquartz:0
My best solution: Using Parallels Desktop to run the Windows version :(