Re: error when installing PyQt5

Denis Rouzaud <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAMtsY+bxegAsaY8ucCtCVyeYV6RBQX=2L05MjJXAnti83wg31A@mail.gmail.com>
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




Le ven. 10 janv. 2020 à 10:20, Phil Thompson <[email protected]>
a écrit :

> On 10/01/2020 09:11, Denis Rouzaud wrote:
> > Hi list,
> >
> > When running on Travis (ubuntu), I get this error:
> >
> > Collecting PyQt5 (from qgis-plugin-ci)
> > 194  Downloading
> >
> https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz
> > (3.2MB)
> > 195  Installing build dependencies: started
> > 196  Installing build dependencies: finished with status 'done'
> > 197  Getting requirements to build wheel: started
> > 198  Getting requirements to build wheel: finished with status 'done'
> > 199    Preparing wheel metadata: started
> > 200    Preparing wheel metadata: finished with status 'error'
> > 201    Complete output from command
> > /home/travis/virtualenv/python3.7.1/bin/python
> >
> /home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py
> > prepare_metadata_for_build_wheel /tmp/tmpi7fqt297:
> > 202    Querying qmake about your Qt installation...
> > 203    /usr/bin/qmake -query
> > 204    Traceback (most recent call last):
> > 205      File
> >
> "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
> > line 64, in prepare_metadata_for_build_wheel
> > 206        hook = backend.prepare_metadata_for_build_wheel
> > 207    AttributeError: module 'sipbuild.api' has no attribute
> > 'prepare_metadata_for_build_wheel'
> > 208
> >
> >
> >
> >
> > Any idea?
>
> That's the error you get from pip when another error occurs. pip's error
> handling is awful which is why I don't recommend using it.
>
> Phil
>

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.