installing modules compiled with visual studio

Eric @ Zomething eric at zomething.com
Tue May 18 21:40:40 EDT 2004


Matthias <matthiasverniers at mail15.com> wrote:

> Subject: installing modules compiled with visual studio
> 
> Hello
> 
> I am a programming newbie, trying to install the "Twisted" package from
> source, on a Windows computer with Python 2.3 installed. But when I try to
> build the sources it gives an error: "Python was built with version 6
> Visual Studio, and extensions need to be built with the same version of
> the compiler, but it isn't installed". It seems there are some C or C++
> libs included in the package, but Python can't install them because I
> don't have Visual Studio installed. Is there a way I can build the
> extensions without using Visual Studio ? I have another C++ compiler
> installed on my pc. Help would really be appreciated as I need the
> package, now I run an older version that came with an installer, but I
> really need the newer package.


I've asked the same question, and I think I was told to compile Twisted (etc.) with my (non-Visual Studio) C++ compiler.  Or was it "re-compile Python with my C++ compiler" (huh?)

I didn't go through the effort, partly because I have misgivings about whether that approach would work - are there C++ Visual Studio libraries required by the source which my compiler won't have? - quite possibly I just don't get it.  That error message certainly doesn't do much for adoption of the package; Twisted might be "the answer" for the things I want to do, but that error seems to make that tough to discover.

I've come across this on a few other packages as well, but just a minority.

Maybe someone can give me a "Tutor" level schooling...  I know I should "get this"...

signed,


Clueless
clueless at zomething.con

"Program in Python and learn C++!"




More information about the Python-list mailing list