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

Jörgen Stenarson jorgen.stenarson@bostream...
Fri Sep 21 14:23:36 CDT 2007


Travis E. Oliphant skrev:
> Jörgen Stenarson wrote:
>> Hi,
>>
>> 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.
>>   
> Yes.  This needs to be fixed.   I'll do it. 
> 
> Can you try the current trunk?
> 

I still see problems

/Jörgen

.
.
.
Traceback (most recent call last):
   File "setup.py", line 90, in ?
     setup_package()
   File "setup.py", line 83, in setup_package
     configuration=configuration )
   File "C:\python\numeric-related\numpy\numpy\distutils\core.py", line 
176, in setup
   File "C:\Python24\lib\distutils\core.py", line 149, in setup
     dist.run_commands()
   File "C:\Python24\lib\distutils\dist.py", line 946, in run_commands
     self.run_command(cmd)
   File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
     cmd_obj.run()
   File "C:\Python24\lib\distutils\command\build.py", line 112, in run
     self.run_command(cmd_name)
   File "C:\Python24\lib\distutils\cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "C:\Python24\lib\distutils\dist.py", line 966, in run_command
     cmd_obj.run()
   File 
"C:\python\numeric-related\numpy\numpy\distutils\command\build_src.py", 
line 130, in run
   File 
"C:\python\numeric-related\numpy\numpy\distutils\command\build_src.py", 
line 147, in build_so
urces
   File 
"C:\python\numeric-related\numpy\numpy\distutils\command\build_src.py", 
line 250, in build_ex
tension_sources
   File 
"C:\python\numeric-related\numpy\numpy\distutils\command\build_src.py", 
line 307, in generate
_sources
   File "numpy\core\setup.py", line 109, in generate_config_h
     from distutils.msvccompiler import get_build_architecture
ImportError: cannot import name get_build_architecture


More information about the Numpy-discussion mailing list