[NumPy-Tickets] [NumPy] #2016: build fails due to error in distutils/mingw32ccompiler.py

NumPy Trac numpy-tickets@scipy....
Thu Jan 12 12:33:41 CST 2012


#2016: build fails due to error in distutils/mingw32ccompiler.py
--------------------+-------------------------------------------------------
 Reporter:  acdlab  |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  1.6.1      
 Keywords:          |  
--------------------+-------------------------------------------------------
 python 2.7.2
 c-compiler gcc 4.5.2
 f-compiler gfortran 4.5.2
 OS: Windows 7

 When building various packages which use numpy,

 distutils\version.py raises
 ValueError: invalid version number '4.'

 This can be fixed by editing ~/Python27/Lib/site-
 packages/numpy/distutils/mingw32ccompiler.py

 and replacing the two instances of "4." with "4.0.0"

 they are located on lines 107 and 127

 then packages will build correctly

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2016>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list