[Tutor] (SIP installation problem) Best way to install Python 3 onto Windows 10

eryk sun eryksun at gmail.com
Wed Mar 16 15:10:34 EDT 2016


On Wed, Mar 16, 2016 at 12:56 PM, Alan Gauld <alan.gauld at btinternet.com> wrote:
> On 16/03/16 12:46, CMG Thrissur wrote:
>
>> I  tried to install activestate on win 10 but due to my ignorance or
>> lack of knowlege i could n't get to install pyqt or sip. i tried it
>> through pip.

PyQt can't be easily installed from source using pip on Windows, and
the project doesn't distribute pre-built wheel packages. You probably
want an installer:

https://www.riverbankcomputing.com/software/pyqt/download
https://www.riverbankcomputing.com/software/pyqt/download5

Riverbank doesn't have a Python 3.5 build yet, but there's an
unofficial wheel available here:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4

Instructions to install wheels:

https://pip.pypa.io/en/latest/user_guide/#installing-from-wheels

>> Even on basic installation i am getting it hard to find installation
> of sip.
>
> I confess i'm not sure which SIP you mean? Google suggests a C/C++
> bindings generator which might make sense if that's what PyQt uses,
> although I'd expect all the bindings to be done for you.
> Are you sure you really need it to use PyQt?

The Qt bindings require the sip extension module at runtime, but
that's included. If you need SIP for your own C++ project, you can
learn more about it and download the source from Riverbank:

https://riverbankcomputing.com/software/sip/intro


More information about the Tutor mailing list