When trying to install pyqt6-tools using pip, I this error:
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
Traceback (most recent call last):
File "C:UsersAkashAppDataLocalProgramsPythonPython312Libsite-packagespip_vendorpyproject_hooks_in_process_in_process.py", line 353, in <module>
main()
File "C:UsersAkashAppDataLocalProgramsPythonPython312Libsite-packagespip_vendorpyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:UsersAkashAppDataLocalProgramsPythonPython312Libsite-packagespip_vendorpyproject_hooks_in_process_in_process.py", line 152, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:UsersAkashAppDataLocalTemppip-build-env-dt42jor3overlayLibsite-packagessipbuildapi.py", line 46, in build_wheel
project = AbstractProject.bootstrap('wheel',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:UsersAkashAppDataLocalTemppip-build-env-dt42jor3overlayLibsite-packagessipbuildabstract_project.py", line 92, in bootstrap
project.setup(pyproject, tool, tool_description)
File "C:UsersAkashAppDataLocalTemppip-build-env-dt42jor3overlayLibsite-packagessipbuildproject.py", line 587, in setup
self.apply_user_defaults(tool)
File "C:UsersAkashAppDataLocalTemppip-install-ukg3fz9rpyqt6_7bc741747d7f427d8cf42061e101bc1dproject.py", line 60, in apply_user_defaults
super().apply_user_defaults(tool)
File "C:UsersAkashAppDataLocalTemppip-build-env-dt42jor3overlayLibsite-packagespyqtbuildproject.py", line 51, in apply_user_defaults
super().apply_user_defaults(tool)
File "C:UsersAkashAppDataLocalTemppip-build-env-dt42jor3overlayLibsite-packagessipbuildproject.py", line 237, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "C:UsersAkashAppDataLocalTemppip-build-env-dt42jor3overlayLibsite-packagespyqtbuildbuilder.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 was trying to install pyqt6-tools to use qt creator for my project.
New contributor
Akash is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.