Re: error when installing PyQt5

Grzegorz Bokota <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CADUBGeRq9WMN3ZiLJ09SsPf0fXMCz+zd7DZTRfy1cDLJEzBZ2w@mail.gmail.com>
It looks like you have to low version of pip (below 19.3). Add `pip install
--upgrade pip` in your pipeline.

pt., 10 sty 2020 o 11:02 Phil Thompson <[email protected]>
napisał(a):

> 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
> _______________________________________________
> PyQt mailing list    [email protected]
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

_______________________________________________
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.