[PyQt] error when installing PyQt5
Phil Thompson
phil at riverbankcomputing.com
Fri Jan 10 10:00:06 GMT 2020
On 10/01/2020 09:45, Denis Rouzaud wrote:
> Here is the complete trace
>
> Traceback (most recent call last):
> 212 File
> "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 207, in <module>
> 213 main()
> 214 File
> "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 197, in main
> 215 json_out['return_val'] = hook(**hook_input['kwargs'])
> 216 File
> "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 67, in prepare_metadata_for_build_wheel
> 217 config_settings)
> 218 File
> "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 95, in _get_wheel_metadata_from_wheel
> 219 whl_basename = backend.build_wheel(metadata_directory,
> config_settings)
> 220 File
> "/tmp/pip-build-env-lubrgr6z/overlay/lib/python3.7/site-packages/sipbuild/api.py",
> line 51, in build_wheel
> 221 project = AbstractProject.bootstrap('pep517')
> 222 File
> "/tmp/pip-build-env-lubrgr6z/overlay/lib/python3.7/site-packages/sipbuild/abstract_project.py",
> line 82, in bootstrap
> 223 project.setup(pyproject, tool, tool_description)
> 224 File
> "/tmp/pip-build-env-lubrgr6z/overlay/lib/python3.7/site-packages/sipbuild/project.py",
> line 387, in setup
> 225 self.apply_user_defaults(tool)
> 226 File "project.py", line 62, in apply_user_defaults
> 227 super().apply_user_defaults(tool)
> 228 File
> "/tmp/pip-build-env-lubrgr6z/overlay/lib/python3.7/site-packages/pyqtbuild/project.py",
> line 86, in apply_user_defaults
> 229 super().apply_user_defaults(tool)
> 230 File
> "/tmp/pip-build-env-lubrgr6z/overlay/lib/python3.7/site-packages/sipbuild/project.py",
> line 202, in apply_user_defaults
> 231 self.builder.apply_user_defaults(tool)
> 232 File
> "/tmp/pip-build-env-lubrgr6z/overlay/lib/python3.7/site-packages/pyqtbuild/builder.py",
> line 76, in apply_user_defaults
> 233 self._get_qt_configuration()
> 234 File
> "/tmp/pip-build-env-lubrgr6z/overlay/lib/python3.7/site-packages/pyqtbuild/builder.py",
> line 463, in _get_qt_configuration
> 235 "v{0}".format(self.qt_version_str))
> 236 sipbuild.exceptions.UserException
>
>
> aa
>
>
> This happens in pyqtbuild/builder.py
You need to put a print statement in somewhere to get the text of the
UserException that pip is swallowing.
Phil
More information about the PyQt
mailing list