problem to compile a win32 module with Python2.4

V

vincent delft

I've a module written in C and the associated setup.py.
Work fine (and compile fine with mvc) with Python 2.3.x

Now I've installed Python 2.4 (all the rest unchanged)
When I try to compile it, I've got a message saying that .NET SDK must be
installed. ????

Am I the only one having this problem (not found by looking for in Google) ?
Is this link to Python 2.4 or my own config ?

Thanks.
 
F

Fredrik Lundh

vincent delft said:
I've a module written in C and the associated setup.py.
Work fine (and compile fine with mvc) with Python 2.3.x

Now I've installed Python 2.4 (all the rest unchanged)
When I try to compile it, I've got a message saying that .NET SDK must be
installed. ????

the message means what it says.
Am I the only one having this problem (not found by looking for in Google) ?

Python NET SDK returns over 200,000 hits, and another 1660 hits in google
groups; I didn't look at them all, but most of the hits on the first few pages are
related to this issue.

(googling for relevant parts of the exact error message can also be helpful...)
Is this link to Python 2.4 or my own config ?

to build extensions to Python, you need to use a compiler compatible with
the compiler used to build the Python core. as of Python 2.4, the core team
has switched from MSVC 6.0 to MSVC 7.1 (aka Visual Studio .NET 2003).
if you don't have the commercial version, you can use the free Microsoft Visual
C++ Toolkit:

http://groups-beta.google.com/group/comp.lang.python/msg/82e240fe42381e78
http://www.vrplumber.com/programming/mstoolkit/

or MinGW:

http://jove.prohosting.com/iwave/ipython/pyMinGW.html

</F>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top