Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't install lableImg Annotation tool in M1 Mac

While installing LabelImg in M1 Mac using below command

pip install pyqt5 lxml

This is the error I got

ERROR: pyqt5 from https://files.pythonhosted.org/packages/7c/5b/e760ec4f868cb77cee45b4554bf15d3fe6972176e89c4e3faac941213694/PyQt5-5.14.0.tar.gz#sha256=0145a6b7de15756366decb736c349a0cb510d706c83fda5b8cd9e0557bc1da72 has a pyproject.toml file that does not comply with PEP 518: 'build-system.requires' contains an invalid requirement: 'sip >=5.0.1 <6'

How to install lableImg annotation tool in M1 Mac?

like image 888
Snap Stor Avatar asked Oct 25 '25 09:10

Snap Stor


1 Answers

I got it to work by using the following commands

brew install pyqt@5
pip install labelimg

And that's it, it just works You just need to type labelimg in the Terminal and the app will start running

I don't know why they don't tell you this in the installation guide

like image 106
AAA Avatar answered Oct 28 '25 03:10

AAA