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

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


On Tue, 17 Jun 2008 10:13:31 -0600
  "Charles R Harris" <charlesr.harris at gmail.com> wrote:
> On Tue, Jun 17, 2008 at 10:04 AM, Nils Wagner 
><nwagner at iam.uni-stuttgart.de>
> wrote:
> 
>> 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)
>>
> 
> OS? Architecture? Compiler? Nose version?
> 
>>> nose.__version__
'0.10.1'
uname -a
Linux linux 2.6.11.4-21.17-default #1 Fri Apr 6 08:42:34 
UTC 2007 i686 athlon i386 GNU/Linux
Python 2.4 (#1, Oct 13 2006, 17:13:31)
[GCC 3.3.5 20050117 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more 
information.
  
Nils



More information about the NumPy-Discussion mailing list