Help configuring visual studio to compile python extensions

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Jan 9 10:23:33 EST 2015


On 09/01/2015 14:58, stephen.boulet at gmail.com wrote:
> I've installed Microsoft Visual Studio 10.0. Here are the steps I've been taking.
>
> My python version is Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:16:31) [MSC v.1600 64 bit (AMD64)] on win32.
>
> (Sorry for the long output.)
>
>> cd "c:\Program Files (x86)\Microsoft Visual Studio 10.0"\vc
>> vcvarsall.bat
>>
>> SET VS90COMNTOOLS=%VS100COMNTOOLS%
> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>pip install scandir
> Collecting scandir
>    Using cached scandir-0.9.tar.gz

See https://docs.python.org/3/extending/windows.html

I'll admit to being a little annoyed that scandir says it supports 
Python 3 but only provides a 2.7 exe on pypi.

Worse even my normal backup failed me 
http://www.lfd.uci.edu/~gohlke/pythonlibs/

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list