chenfei-wu / TaskMatrix

Other
34.55k stars 3.32k forks source link

pip install opentele #476

Open Errorrhall opened 4 days ago

Errorrhall commented 4 days ago

pip install opentele Collecting opentele Using cached opentele-1.15.1-py3-none-any.whl.metadata (7.1 kB) Collecting pyqt5 (from opentele) Using cached PyQt5-5.15.11.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 ╰─> [25 lines of output] 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 353, in main() File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, 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 152, 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-pqz7x4_1/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-pqz7x4_1/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-pqz7x4_1/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 608, in setup self.apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-install-bugtl5gv/pyqt5_5257140508de42c48579c8a9d082194b/project.py", line 68, in apply_user_defaults super().apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-build-env-pqz7x4_1/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-pqz7x4_1/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 237, in apply_user_defaults self.builder.apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-build-env-pqz7x4_1/overlay/lib/python3.12/site-packages/pyqtbuild/builder.py", line 50, 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. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. ~/Beast_Bomber $ pip uninstall opentele WARNING: Skipping opentele as it is not installed. ~/Beast_Bomber $ pip install opentele Collecting opentele Using cached opentele-1.15.1-py3-none-any.whl.metadata (7.1 kB) Collecting pyqt5 (from opentele) Using cached PyQt5-5.15.11.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 ╰─> [25 lines of output] 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 353, in main() File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, 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 152, 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-m01qhmlr/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-m01qhmlr/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-m01qhmlr/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 608, in setup self.apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-install-7b967okx/pyqt5_3a41a71ac4f34cffb98480e802e98a5e/project.py", line 68, in apply_user_defaults super().apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-build-env-m01qhmlr/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-m01qhmlr/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 237, in apply_user_defaults self.builder.apply_user_defaults(tool) File "/data/data/com.termux/files/usr/tmp/pip-build-env-m01qhmlr/overlay/lib/python3.12/site-packages/pyqtbuild/builder.py", line 50, 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. ╰─> See above for output.

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

I got the text 'no module named opentele' I wrote pip install opentele, but I got this error, I use termux