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

Jörgen Stenarson jorgen.stenarson at bostream.nu
Sun Sep 23 07:38:13 EDT 2007


Pearu Peterson skrev:
> On Fri, September 21, 2007 10:23 pm, Jörgen Stenarson wrote:
>> 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
>>
> 
>>    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
> 
> Try again the latest trunk.
> 

No luck. The build works for me with the attached patch.

/Jörgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/applefile
Size: 1500 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070923/db74392f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_build_architecture.patch
Type: application/octet-stream
Size: 1094 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070923/db74392f/attachment.obj>


More information about the NumPy-Discussion mailing list