Hi
Trying to install PyQt5, I get the following message :
arbiel@arbiel-NJ5x-NJ7xLU:~$ pip install PyQt5
Collecting PyQt5
Using cached PyQt5-5.15.11.tar.gz (3.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmptt_0nxqr prepare_metadata_for_build_wheel /tmp/tmpr8h5fbva
cwd: /tmp/pip-install-hcz7ybzz/PyQt5
Complete output (31 lines):
Traceback (most recent call last):
File "/tmp/tmptt_0nxqr", line 126, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/tmptt_0nxqr", line 280, in <module>
main()
File "/tmp/tmptt_0nxqr", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmptt_0nxqr", line 130, in prepare_metadata_for_build_wheel
return _get_wheel_metadata_from_wheel(backend, metadata_directory,
File "/tmp/tmptt_0nxqr", line 159, in _get_wheel_metadata_from_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/sipbuild/api.py", line 28, in build_wheel
project = AbstractProject.bootstrap('wheel',
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/sipbuild/abstract_project.py", line 74, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/sipbuild/project.py", line 608, in setup
self.apply_user_defaults(tool)
File "/tmp/pip-install-hcz7ybzz/PyQt5/project.py", line 68, in apply_user_defaults
super().apply_user_defaults(tool)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/pyqtbuild/project.py", line 51, in apply_user_defaults
super().apply_user_defaults(tool)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/sipbuild/project.py", line 237, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py", line 49, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmptt_0nxqr prepare_metadata_for_build_wheel /tmp/tmpr8h5fbva Check the logs for full command output.
arbiel@arbiel-NJ5x-NJ7xLU:~$
I understand I should check the logs to get more information. However I don't know their localisation.
Thanks to anybody indicating where I can check the logs.
I running Python 3.8.10 under Ubuntu VERSION="20.04.6 LTS (Focal Fossa)"
Arbiel
Trying to install PyQt5, I get the following message :
arbiel@arbiel-NJ5x-NJ7xLU:~$ pip install PyQt5
Collecting PyQt5
Using cached PyQt5-5.15.11.tar.gz (3.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmptt_0nxqr prepare_metadata_for_build_wheel /tmp/tmpr8h5fbva
cwd: /tmp/pip-install-hcz7ybzz/PyQt5
Complete output (31 lines):
Traceback (most recent call last):
File "/tmp/tmptt_0nxqr", line 126, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/tmptt_0nxqr", line 280, in <module>
main()
File "/tmp/tmptt_0nxqr", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmptt_0nxqr", line 130, in prepare_metadata_for_build_wheel
return _get_wheel_metadata_from_wheel(backend, metadata_directory,
File "/tmp/tmptt_0nxqr", line 159, in _get_wheel_metadata_from_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/sipbuild/api.py", line 28, in build_wheel
project = AbstractProject.bootstrap('wheel',
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/sipbuild/abstract_project.py", line 74, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/sipbuild/project.py", line 608, in setup
self.apply_user_defaults(tool)
File "/tmp/pip-install-hcz7ybzz/PyQt5/project.py", line 68, in apply_user_defaults
super().apply_user_defaults(tool)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/pyqtbuild/project.py", line 51, in apply_user_defaults
super().apply_user_defaults(tool)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/sipbuild/project.py", line 237, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "/tmp/pip-build-env-72i1tb5k/overlay/lib/python3.8/site-packages/pyqtbuild/builder.py", line 49, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmptt_0nxqr prepare_metadata_for_build_wheel /tmp/tmpr8h5fbva Check the logs for full command output.
arbiel@arbiel-NJ5x-NJ7xLU:~$
I understand I should check the logs to get more information. However I don't know their localisation.
Thanks to anybody indicating where I can check the logs.
I running Python 3.8.10 under Ubuntu VERSION="20.04.6 LTS (Focal Fossa)"
Arbiel
using Ubuntu 18.04.4 LTS, Python 3.8
having substituted «https://www.lilo.org/fr/» to google, «https://protonmail.com/» to any other unsafe mail service and bépo to azerty (french keyboard layouts)
having substituted «https://www.lilo.org/fr/» to google, «https://protonmail.com/» to any other unsafe mail service and bépo to azerty (french keyboard layouts)