[PyQt] Install PyQt5 via setuptools

Tony Arnold tony.arnold at manchester.ac.uk
Wed Dec 7 12:41:13 GMT 2016


Florian,

On Wed, 2016-12-07 at 13:13 +0100, Florian Bruhin wrote:
> * Tony Arnold <tony.arnold at manchester.ac.uk> [2016-12-07 11:53:08
> +0000]:
> > 
> > I have a PyQt5 application which I package using setuptools. I've
> > recently, PyQt5 3.5 or later can be installed using pip3, so I
> > presumed that PyQt5 could be specified in the 'install_required'
> > option in my setup.py file. However, this fails to install PyQt5
> > when installing my package.
> How does it fail?

It says:

Searching for PyQt5
Reading https://pypi.python.org/simple/PyQt5/
No local packages or working download links found for PyQt5
error: Could not find suitable distribution for
Requirement.parse('PyQt5')


I'm running on Ubuntu 16.10 inside a virtualenv with Python 3.5.

Regards,
Tony.
-- 
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G.110, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039


More information about the PyQt mailing list