Troubleshooting installing new package

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gheorghe Postelnicu

    Troubleshooting installing new package

    Hi,

    I have Python 2.5 installed on WinXP and I am trying to install a new
    package. I ran the setup.py build and I get the following message:

    C:\packages\ree dsolomon-0.1>setup.py build
    running build
    running build_ext
    error: Python was built with Visual Studio 2003;
    extensions must be built with a compiler than can generate compatible binaries.
    Visual Studio 2003 was not found on this system. If you have Cygwin installed,
    you can try compiling with MingW32, by passing "-c mingw32" to setup.py.

    I have Visual Studio 2005 Express (the free one) installed. Is there a
    way to specify an option to compile using that version of the
    compiler?

    Sorry for the silly question and thanks in advance for any helpful suggestions!
    --
    Gheorghe Postelnicu, PhD
    MGH, Harvard Medical School
  • nickel_and_dime_2death@yahoo.com

    #2
    Re: Troubleshooting installing new package

    On Sep 13, 8:10 pm, "Gheorghe Postelnicu"
    <gheorghe.poste ln...@gmail.com wrote:
    Hi,
    >
    I have Python 2.5 installed on WinXP and I am trying to install a new
    package. I ran thesetup.pybuil d and I get the following message:
    >
    C:\packages\ree dsolomon-0.1>setup.pybui ld
    running build
    running build_ext
    error: Python was built with Visual Studio 2003;
    extensions must be built with a compiler than can generate compatible binaries.
    Visual Studio 2003 was not found on this system. If you have Cygwin installed,
    you can try compiling with MingW32, by passing "-c mingw32" tosetup.py.
    >
    I have Visual Studio 2005 Express (the free one) installed. Is there a
    way to specify an option to compile using that version of the
    compiler?
    >
    Sorry for the silly question and thanks in advance for any helpful suggestions!
    --
    Gheorghe Postelnicu, PhD
    MGH, Harvard Medical School
    Hello, newbee here. I was looking for other solutions to other
    problems. However, in my research for building wxPython I read from
    the docs/build.html concerning the WIN crowd ...
    --
    [quote] If you woudl rather use a different version of VisualStudio
    keep in mind that you'll also have to build Python and any other
    extension modules that you use with that compiler because a different
    version of the C runtime library is used. The stock Python 2.4 and 2.5
    executables are built with MSVC 7.1, and the same rules apply to it.[/
    quote]

    So... did you build your Python2.5?? or did you install the binaries??
    It makes a big difference.

    Comment

    Working...