Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Sign in to follow this  

[python2] Building PIP and PyQt to install spyder2

Recommended Posts

Hi Pythoners, I have quite an unusual problem here.

I have newest python 2 and python 3 installed together with python launcher and PIP, all coming from newest, official installers from python.org. And I wanted to install Spyder IDE for them. For various reasons I am not going with Anaconda, as they suggest, or any other python distro like python(x, y) or WinPython. I decided for the PIP way

spyder3 went smooth, I just needed to:

pip3 install pyqt5
pip3 install spyder

And it works like a charm. Hovewer, spyder 2 is not that easy. For pyqt for python 2 is not avaliable via pip, so it looks like buildig from source, as described here, is the only way that will work for me. Unfortunately, it requires having sip for python, which is also not available via pip and one have to build using source code. And this is the moment I am quite lost.

I managed to run configure.py using python 2, all paths were valid, I managed to find makefile files it created... and don't know what to do next. SIP installation instruction assumes that reader can use "make" command and is experienced in C\C++ building, and I'm not at all. I googled a bit and tried to use nmake, simply passing my makefile as a parameter, but only got a response "cannot build"

What I need a hand with:

First, I would like to get that built and installed. this case simply got me curious.
Secondly, I don't even know if this will allow me to install spyder2 using pip2, and this is my ultimate goal.

My setup is Win10 Enterprise, major build 1703, and a Visual Studio express 2015 - and "enterprise" means, I cannot use any other.

Any help is welcome.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...