[PyQt] sip version error from PyPI.

Phil Thompson phil at riverbankcomputing.com
Tue Apr 9 19:48:05 BST 2019


On 09/04/2019 22:27, Vincent Vande Vyvre wrote:
> Hi,
> 
> Trying to install PyQt5 from PyPI in a 3.7.2 venv, I've this error:
> 
> 
> (py372_venv) vincent at djoliba:~/CPython/py372_venv/demosaicing$ pip 
> install pyqt5
> /home/vincent/CPython/py372_venv/lib/python3.7/site-packages/pip/_vendor/html5lib/_trie/_base.py:3:
> DeprecationWarning: Using or importing the ABCs from 'collections'
> instead of from 'collections.abc' is deprecated, and in 3.8 it will
> stop working
>   from collections import Mapping
> Collecting pyqt5
> /home/vincent/CPython/py372_venv/lib/python3.7/site-packages/pip/_vendor/msgpack/fallback.py:222:
> PendingDeprecationWarning: encoding is deprecated, Use raw=False
> instead.
>   PendingDeprecationWarning)
>   Downloading
> https://files.pythonhosted.org/packages/98/61/fcd53201a23dd94a1264c29095821fdd55c58b4cd388dc7115e5288866db/PyQt5-5.12.1-5.12.2-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl
> (61.2MB)
>     100% |████████████████████████████████| 61.2MB 196kB/s
> Collecting PyQt5_sip<4.20,>=4.19.14 (from pyqt5)
>   Could not find a version that satisfies the requirement
> PyQt5_sip<4.20,>=4.19.14 (from pyqt5) (from versions: )
> No matching distribution found for PyQt5_sip<4.20,>=4.19.14 (from 
> pyqt5)
> 
> 
> Must I've to install sip separately ?

No, but you might want to upgrade pip.

Phil


More information about the PyQt mailing list