[Python-Dev] compile extensions under Windows Vista and VS8

Sebastian Wehrmann sw at gocept.com
Fri Oct 19 19:20:44 CEST 2007


Hi all,

I've got a tricky problem with a self-compiled python2.4.4 under Windows 
Vista. I compiled with Visual Studio 8 Standard (.NET 2005).

Python greets with the right header:

   Python 2.4.4 (#71, Oct 19 2007, 18:49:44) [MSC v.1400 32 bit (Intel)]
   on win32

I started the Visual Studio Shell and tried to get some extensions using 
setuptools (easy_install):

   python ez_setup.py readline
   [...]
   Best match: readline 2.4.2
   [..Downloading..]
   Running readline-2.4.2\setup.py -q bdist_egg --dist-dir
   c:\users\sweh\appdata\local\temp\easy_install-nnn9di\
   readline-2.4.2\egg-dist-tmp-fqezb_
   error: Setup script exited with error: Python was built with version
   8.0 of Visual Studio, and extensions need to be built with the same
   version of the compiler, but it isn't installed.

Does anyone know, why setuptools cannot find VS8? I'm sure the system 
variables are set correctly as in %VCDIR%\bin\vcvars32.bat.

regards,
-- 
Sebastian Wehrmann

gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale · germany
www.gocept.com · work. +49 345 122988912 · fax. +49 345 12298891


More information about the Python-Dev mailing list