[GH-ISSUE #179] How to install PYQT5 #145

Open
opened 2026-03-04 12:29:38 +03:00 by kerem · 0 comments
Owner

Originally created by @youhaoyu159028 on GitHub (Jan 1, 2026).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/179

[ZeroTermux]
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in
main()
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 178, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/sipbuild/api.py", line 28, in build_wheel
project = AbstractProject.bootstrap('wheel',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/sipbuild/abstract_project.py", line 74, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 661, in setup
self.apply_user_defaults(tool)
File "/data/data/com.termux/files/usr/tmp/pip-install-sijjxgof/pyqt5_8f832e7eafbe4e9390150ef13e87d57c/project.py", line 68, in apply_user_defaults
super().apply_user_defaults(tool)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/pyqtbuild/project.py", line 51, in apply_user_defaults
super().apply_user_defaults(tool)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 248, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/pyqtbuild/builder.py", line 49, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
[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.
╰─> PyQt5

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Originally created by @youhaoyu159028 on GitHub (Jan 1, 2026). Original GitHub issue: https://github.com/casualsnek/onthespot/issues/179 [ZeroTermux] Traceback (most recent call last): File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 178, in prepare_metadata_for_build_wheel whl_basename = backend.build_wheel(metadata_directory, config_settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/sipbuild/api.py", line 28, in build_wheel project = AbstractProject.bootstrap('wheel', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/sipbuild/abstract_project.py", line 74, in bootstrap project.setup(pyproject, tool, tool_description) File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 661, in setup self.apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-install-sijjxgof/pyqt5_8f832e7eafbe4e9390150ef13e87d57c/project.py", line 68, in apply_user_defaults super().apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/pyqtbuild/project.py", line 51, in apply_user_defaults super().apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 248, in apply_user_defaults self.builder.apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-build-env-5es4xnxm/overlay/lib/python3.12/site-packages/pyqtbuild/builder.py", line 49, in apply_user_defaults raise PyProjectOptionException('qmake', sipbuild.pyproject.PyProjectOptionException [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. ╰─> PyQt5 note: This is an issue with the package mentioned above, not pip. hint: See above for details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/onthespot#145
No description provided.