how to install pyqt6 on jetson orin nano
or pyqt5
amin@ubuntu:~/seyedAminMousavi/DVP2-ARM64_240620_EN_NT-py3.10_4/DVP2-ARM64$ pip3 install PyQt5
Defaulting to user installation because normal site-packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0xffff87298550>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’)': /simple/pyqt5/
Collecting PyQt5
Downloading PyQt5-5.15.11.tar.gz (3.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 255.1 kB/s eta 0:00:00
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 “/home/amin/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 389, in
main()
File “/home/amin/.local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 373, in main
json_out[“return_val”] = hook(**hook_input[“kwargs”])
File “/home/amin/.local/lib/python3.10/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 “/tmp/pip-build-env-dm_a44kc/overlay/local/lib/python3.10/dist-packages/sipbuild/api.py”, line 28, in build_wheel
project = AbstractProject.bootstrap(‘wheel’,
File “/tmp/pip-build-env-dm_a44kc/overlay/local/lib/python3.10/dist-packages/sipbuild/abstract_project.py”, line 74, in bootstrap
project.setup(pyproject, tool, tool_description)
File “/tmp/pip-build-env-dm_a44kc/overlay/local/lib/python3.10/dist-packages/sipbuild/project.py”, line 645, in setup
self.update(tool)
File “/tmp/pip-install-rtzh2e46/pyqt5_8196a310569b47619ecf25d6d5840063/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.