Re: pip install fail

Phil Thompson <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On 02/03/2020 21:43, Weatherby,Gerard wrote:
> Attempting to install the latest PyPi PyQt5 failed.
> 
> gweatherby@boxcode:/tmp$ python3 -m venv testenv
> gweatherby@boxcode:/tmp$ cd testenv
> gweatherby@boxcode:/tmp/testenv$ source bin/activate
> (testenv) gweatherby@boxcode:/tmp/testenv$ pip install PyQt5
> Collecting PyQt5
>   Using cached
> https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz
>     Complete output from command python setup.py egg_info:
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File "/usr/lib/python3.6/tokenize.py", line 452, in open
>         buffer = _builtin_open(filename, 'rb')
>     FileNotFoundError: [Errno 2] No such file or directory:
> '/tmp/pip-build-fawjd1a8/PyQt5/setup.py'
> 
>     ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /tmp/pip-build-fawjd1a8/PyQt5/
> (testenv) gweatherby@boxcode:/tmp/testenv$ python --version
> Python 3.6.8
> (testenv) gweatherby@boxcode:/tmp/testenv$ uname -a
> Linux boxcode 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC
> 2020 x86_64 x86_64 x86_64 GNU/Linux
> (testenv) gweatherby@boxcode:/tmp/testenv$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=18.04
> DISTRIB_CODENAME=bionic
> DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
> 
> Prior version seems to work fine.
> 
> 
> (testenv) gweatherby@boxcode:/tmp/testenv$ pip install PyQt5==5.14.0
> Collecting PyQt5==5.14.0
>   Using cached
> https://files.pythonhosted.org/packages/88/d0/4572492d633e311c0143ba20596cb5c090d37442d1cd431082193f3bbb3a/PyQt5-5.14.0-5.14.0-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl
> Collecting PyQt5-sip<13,>=12.7 (from PyQt5==5.14.0)
>   Using cached
> https://files.pythonhosted.org/packages/a7/5b/4470b7689d683908c3113f489cae3f4f9ed621756770b33fcd603c4d426e/PyQt5_sip-12.7.1-cp36-cp36m-manylinux1_x86_64.whl
> Installing collected packages: PyQt5-sip, PyQt5
> Successfully installed PyQt5-5.14.0 PyQt5-sip-12.7.1
> (testenv) gweatherby@boxcode:/tmp/testenv$
> 
> ?

First step is to make sure you have a recent copy of pip.

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.