Compiler for external modules for python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pretoriano_2001@hotmail.com

    Compiler for external modules for python

    Hello:
    I have interesting external modules that I want to incorporate to
    python 2.4.3 and python 2.5b2 also. Some of them requires C/C++
    compiler. I work with Win XP Sp2 and have installed VC2005 express (I
    do not know if the compiler is the one with optimizing
    characterisitic s), when trying to install some module using "distutils"
    program, it asks for C/C++ VC7 that is part of VS2003, it seems
    distutils is not configured for VC8 that is part of VC2005.
    Under this circumstances I tried to find the VC7 compiler from
    microsoft sites, however it deflect to the new version of VS2005, so I
    "lost the cord and the goat" .
    I do not know what to do. Does anybody has some guidelines about this
    matter?
    Thanks!!!

  • Martin v. Löwis

    #2
    Re: Compiler for external modules for python

    pretoriano_2001 @hotmail.com wrote:
    Under this circumstances I tried to find the VC7 compiler from
    microsoft sites, however it deflect to the new version of VS2005, so I
    "lost the cord and the goat" .
    I do not know what to do. Does anybody has some guidelines about this
    matter?
    You need to use VS 2003 to build Python extensions; VS 2005 does not
    work. As Microsoft has stopped shipping VS 2003, you could try to get
    a copy on ebay.

    Alternatively, you can use GNU MingW to build Python extensions.

    Regards,
    Martin

    Comment

    • Jérôme Le Bougeant

      #3
      Re: Compiler for external modules for python

      VS2003 : http://vecchio56.free.fr/VCToolkitSetup.exe

      Hello:
      I have interesting external modules that I want to incorporate to
      python 2.4.3 and python 2.5b2 also. Some of them requires C/C++
      compiler. I work with Win XP Sp2 and have installed VC2005 express (I
      do not know if the compiler is the one with optimizing
      characterisitic s), when trying to install some module using "distutils"
      program, it asks for C/C++ VC7 that is part of VS2003, it seems
      distutils is not configured for VC8 that is part of VC2005.
      Under this circumstances I tried to find the VC7 compiler from
      microsoft sites, however it deflect to the new version of VS2005, so I
      "lost the cord and the goat" .
      I do not know what to do. Does anybody has some guidelines about this
      matter?
      Thanks!!!
      >

      Comment

      Working...