[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Fwd: Re:  sip version error from PyPI.
From:       Vincent Vande Vyvre <vincent.vande.vyvre () telenet ! be>
Date:       2019-04-10 6:40:57
Message-ID: 23fee7fa-a5ab-fa8e-744d-7970446565c6 () telenet ! be
[Download RAW message or body]

Le 9/04/19 à 20:48, Phil Thompson a écrit :

> 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@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/fcd53201a23dd94a1264c29095821fdd55c5 \
> > 8b4cd388dc7115e5288866db/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
> 
After a

$ pip install --upgrade pip setuptools wheel

...

Successfully installed setuptools-41.0.0 wheel-0.33.1


I've the same error for PyQt5_sip<4.20,>=4.19.14

But if I do:

$ pip search pyqt5

PyQt5-stubs (5.12.1.0)            - PEP561 stub files for the PyQt5 
framework
pyqt5-tools (5.11.3.1.4)          - Tools to supplement the official 
PyQt5 wheels
PyQt5-sip (4.19.15)               - Python extension module support for 
PyQt5
PyQt5 (5.12.1)                    - Python bindings for the Qt cross 
platform UI and application toolkit

...


The sip version seems OK, so where is the problem ?


Vincent

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic