problem to compile a win32 module with Python2.4

Discussion in 'Python' started by vincent delft, Dec 18, 2004.

  1. I've a module written in C and the associated
    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 ?

    vincent delft, Dec 18, 2004
    1. Advertisements

  2. the message means what it says.
    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...)
    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:

    or MinGW:

    Fredrik Lundh, Dec 18, 2004
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.