Troubleshooting installing new package

  • Thread starter Gheorghe Postelnicu
  • Start date
G

Gheorghe Postelnicu

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\reedsolomon-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!
 
N

nickel_and_dime_2death

Hi,

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

C:\packages\reedsolomon-0.1>setup.pybuild
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!

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 ...
--
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.
 

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

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top