Are you running Python 2.5? I had the same error using Python 2.5 with Visual Studio 2008, I upgraded to Python 2.6 and it went away. Ian.
2010/1/10 Bernard Van Der Stichele <[email protected]> > Hi, > I'm trying to install PyCuda on WinXP 32 bit. I got to the point where I > run > > >python setup.py install > > Setup goes through a series of steps then eventually breaks when running > build_ext with the following message: > > "error: Python was built with Visual Studio 2003; > extensions must be built with a compiler that 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 nigw32" to setup.py" > > My environment is: > Visual Studio 2008 Express (C++) > Python 2.5 > Numpy 1.1.1, Scipy 0.7.0 > Cuda 2.3 > Boost 1.40, (Visual C++ 9.0, Multithread Debug, DLL variant) > PyCuda 0.93 > > Followed the wiki installation notes where appropriate and seem to have > siteconfig.py set-up properly. > > (Not extacly sure what was meant by "Finally, add a HOME environment > variable > in Windows: it doesn't matter what it is, so you can make it "123456" or > your > My Documents directory, etc. " ??) > > Any suggestions as to what my issue is? I find it surprising that V++2008 > binaries would not be compatible with VC++2003 - but then I'm not a c++ > programmer, and I have never used Boost before either. > > Any help appreciated - thank you. > > > CONFIDENTIALITY WARNING > This e-mail message, including any attachment(s), is confidential. If we > sent this communication to you in error, please do not disclose it to anyone > else or use the information in it. Please notify the sender of the > transmission error and then delete our communication from your system > without printing, copying or forwarding it. Thank you for your co-operation. > > AVERTISSEMENT CONCERNANT LE CARACTERE CONFIDENTIEL DE L'INFORMATION > > Le present courriel, y compris toute piece qui y est jointe, est > confidentiel. Si nous vous avons envoye cette communication par erreur, nous > vous prions de ne la divulguer a personne ni a utiliser l’information > qu’elle contient. Veuillez informer l’expediteur de l’erreur de transmission > et effacer ensuite notre communication de votre systeme sans l’imprimer, ni > la copier ni la retransmettre. Nous vous remercions de votre cooperation. > > > > _______________________________________________ > PyCUDA mailing list > [email protected] > http://tiker.net/mailman/listinfo/pycuda_tiker.net > > -- Ian Ozsvald (Professional Screencaster) [email protected] http://ProCasts.co.uk/examples.html http://TheScreencastingHandbook.com http://IanOzsvald.com + http://ShowMeDo.com http://twitter.com/ianozsvald
_______________________________________________ PyCUDA mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
