How to install Python package from source on Windows

Deborah Swanson python at deborahswanson.net
Mon May 15 02:28:41 EDT 2017


eryk sun wrote, on Sunday, May 14, 2017 9:27 PM
> 
> On Mon, May 15, 2017 at 4:19 AM, Deborah Swanson 
> <python at deborahswanson.net> wrote:
> > Unfortunately I don't have Visual Studio 2015+ installed 
> and I can't 
> > install it on Windows XP SP2 (plus I really don't want to). 
> Probably I 
> > should have mentioned that, but I didn't know I'd need to 
> build C/C++.
> 
> 3.5+ doesn't work in XP, so the highest version you can run 
> is 3.4. For 32-bit, install recordclass-0.4.3-cp34-cp34m-win32.whl.
> 

I have 3.4.3 installed. That was the last build it was possible to get
out of Anaconda for XP, and there's lots of goodies I have to do without
or work around.

But, "pip install recordclass-0.4.3-cp34-cp34m-win32.whl" fails with:

"recordclass-0.4.3-cp34-cp34m-win32.whl is not a supported wheel on this
platform."

Probably because it wants to use C++, or Visual something (higher than
version 4).

Unless you know how I can install recordclass without using pip, and
recordclass-0.4.3-cp34-cp34m-win32.whl won't fail if it can't find
Visual C++.

Again, maybe I should go back to Python 2 for this.

Deborah




More information about the Python-list mailing list