LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
(venv) atatekeli:waste-detection atatekeli$ pip3 install labelImg
Collecting labelImg
Downloading labelImg-1.8.6.tar.gz (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 2.3 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting pyqt5 (from labelImg)
Using cached PyQt5-5.15.9.tar.gz (3.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Querying qmake about your Qt installation...
Traceback (most recent call last):
File "/Users/atatekeli/waste-detection/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/atatekeli/waste-detection/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/atatekeli/waste-detection/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "/private/var/folders/y4/jnpd1pl92r50hk6sfmrcq20c0000gn/T/pip-build-env-gsb73toy/overlay/lib/python3.10/site-packages/sipbuild/api.py", line 46, in build_wheel
project = AbstractProject.bootstrap('wheel',
File "/private/var/folders/y4/jnpd1pl92r50hk6sfmrcq20c0000gn/T/pip-build-env-gsb73toy/overlay/lib/python3.10/site-packages/sipbuild/abstract_project.py", line 87, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/private/var/folders/y4/jnpd1pl92r50hk6sfmrcq20c0000gn/T/pip-build-env-gsb73toy/overlay/lib/python3.10/site-packages/sipbuild/project.py", line 602, in setup
self.update(tool)
File "/private/var/folders/y4/jnpd1pl92r50hk6sfmrcq20c0000gn/T/pip-install-ufc35ej9/pyqt5_2044e954c5224316bd3fefaae9dc2e0d/project.py", line 165, in update
raise UserException(
sipbuild.exceptions.UserException
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.