compile extensions under Windows Vista and VS8
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
Does anyone know, why setuptools cannot find VS8?
Python 2.5 does not support being built with VS8, and distutils "knows" that. The official compiler to build Python 2.5 is VS 7.1. There are environment variables to tell distutils otherwise; see the documentation or the source for details. This question is off-topic for python-dev. Regards, Martin
participants (2)
-
"Martin v. Löwis"
-
Sebastian Wehrmann