[Numpy-discussion] ImportError: No module named numpy.distutils.core

Nils Wagner nwagner at iam.uni-stuttgart.de
Tue Jun 17 12:04:19 EDT 2008


On Tue, 17 Jun 2008 17:53:53 +0200
  "Nils Wagner" <nwagner at iam.uni-stuttgart.de> wrote:
> Hi all,
> 
> How do I install numpy from svn ?
>  
> With latest svn I get
> 
> /usr/bin/python setup.py install
> Traceback (most recent call last):
>   File "setup.py", line 96, in ?
>     setup_package()
>   File "setup.py", line 68, in setup_package
>     from numpy.distutils.core import setup
> ImportError: No module named numpy.distutils.core
> 
> Cheers,
> 
>            Nils
> 

Please ignore the message. I have removed my numpy 
directory by accident.

Sorry for the noise.


Anyway, numpy.test() now results in

  ======================================================================
FAIL: 
test_format.test_memmap_roundtrip('\x93NUMPY\x01\x00F\x00{\'shape\': 
(3, 3), \'descr\': \'>c16\', \'fortran_order\': False} 
          \n@$\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@(\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@,\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 
'\x93NUMPY\x01\x00F\x00{\'shape\': (3, 3), 
\'fortran_order\': False, \'descr\': \'>c16\'} 
          \n@$\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@(\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@,\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/nose/case.py", 
line 203, in runTest
     self.test(*self.arg)
   File 
"/usr/lib/python2.4/site-packages/numpy/lib/tests/test_format.py", 
line 414, in assert_equal
     assert o1 == o2
AssertionError

----------------------------------------------------------------------
Ran 1655 tests in 29.608s

FAILED (failures=144)



More information about the NumPy-Discussion mailing list