[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler
report at bugs.python.org
Tue Jan 13 18:31:05 CET 2009
New submission from Giampaolo Rodola' <billiejoex at users.sourceforge.net>:
Today I was trying to compile a module using an extension in C and
noticed there are differences between compiling it on Python 2.5 and 2.6.
I was trying to compile psutil (svn checkout
http://psutil.googlecode.com/svn/trunk/ psutil) but I think that the
problem may occur with any other package using C extensions.
D:\pyftpdlib\svn\psutil\trunk>C:\python25\python.exe setup.py install
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
Visual Studio 2003 was not found on this system. If you have Cygwin
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
D:\pyftpdlib\svn\psutil\trunk>C:\python26\python.exe setup.py install
building 'psutil/_psutil_mswindows' extension
title: distutils does not show any error msg when can't build C module extensions due to a missing C compiler
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list