[Numpy-discussion] Compilation failure on python2.4 win32

Jörgen Stenarson jorgen.stenarson@bostream...
Sun Sep 16 06:03:50 CDT 2007


I cannot compile numpy (rev 2042) for python2.4 on win32, it works on 
python2.5. It looks like the call to function get_build_architecture in 
distutils.misc_util.py is python2.5 specific.


C:\python\external\numpy>python setup.py config --compiler=mingw32 build 
--compiler=mingw32  install

Running from numpy source directory.
Traceback (most recent call last):
   File "setup.py", line 90, in ?
   File "setup.py", line 62, in setup_package
     from numpy.distutils.core import setup
   File "c:\python24\lib\site-packages\PIL\__init__.py", line 5, in ?
     # package placeholder
   File "C:\python\external\numpy\numpy\distutils\ccompiler.py", line 
451, in ?
   File "C:\python\numeric-related\numpy\numpy\distutils\misc_util.py", 
line 324, in msvc_on_amd64
ImportError: cannot import name get_build_architecture

More information about the Numpy-discussion mailing list