Installation issue with pip, building from source
Jeremy Sanders
jeremy at jeremysanders.net
Sun May 18 18:30:41 BST 2025
Hi -
Has anyone else encountered this issue? It fails for me with
pyqt6-6.9.0, sip-6.11.0, qt-6.9.0 and pip 25.1.1, on both Windows and
Ubuntu 22.04.
It worked previously with pyqt6-6.9.0, sip-6.10.0 and pip 25.1.1,
suggesting that this might be a sip issue.
Thanks
Jeremy
-----
python3 -m pip -v install --config-settings --confirm-license=
--no-binary :all: PyQt6
...
Compiling the project...
Installing the project...
Traceback (most recent call last):
File
"C:\hostedtoolcache\windows\Python\3.13.3\x64\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py",
line 389, in <module>
main()
~~~~^^
File
"C:\hostedtoolcache\windows\Python\3.13.3\x64\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py",
line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\hostedtoolcache\windows\Python\3.13.3\x64\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py",
line 179, in prepare_metadata_for_build_wheel
return _get_wheel_metadata_from_wheel(
whl_basename, metadata_directory, config_settings
)
File
"C:\hostedtoolcache\windows\Python\3.13.3\x64\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py",
line 238, in _get_wheel_metadata_from_wheel
whl_file = os.path.join(metadata_directory, whl_basename)
File "<frozen ntpath>", line 139, in join
File "<frozen genericpath>", line 188, in _check_arg_types
TypeError: join() argument must be str, bytes, or os.PathLike object,
not 'list'
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
See
https://github.com/veusz/veusz/actions/runs/15097383491/job/42433858047
and https://github.com/veusz/veusz/actions/runs/15096973165/job/42432933475
More information about the PyQt
mailing list