[Numpy-discussion] ImportError: No module named multiarray
Reckoner
reckoner@gmail....
Mon Aug 17 15:28:26 CDT 2009
Hi,
I created a pickled file on my Windows PC, uploaded to a Linux machine
and then received the following error:
Python 2.5.4 (r254:67916, Feb 5 2009, 19:52:35)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cPickle
>>> cPickle.load(open('tst.pkl'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named multiarray
Obviously, the pickled file loads fine on the Windows PC.
the following is the result of numpy.test()
>>> numpy.test()
Running unit tests for numpy
NumPy version 1.2.1
NumPy is installed in
/nfs/02/reckoner/Starburst/lib/python2.5/site-packages/numpy
Python version 2.5.4 (r254:67916, Feb 5 2009, 19:52:35) [GCC 4.1.2
20071124 (Red Hat 4.1.2-42)]
nose version 0.10.3
..........................................................................................................................................................................................................................................................................................................................................................................................................................................F................K................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_umath.TestComplexFunctions.test_against_cmath
----------------------------------------------------------------------
Traceback (most recent call last):
File "/nfs/02/reckoner/Starburst/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py",
line 182, in runTest
self.test(*self.arg)
File "/nfs/02/reckoner/Starburst/lib/python2.5/site-packages/numpy/core/tests/test_umath.py",
line 268, in test_against_cmath
assert abs(a - b) < atol, "%s %s: %s; cmath: %s"%(fname,p,a,b)
AssertionError: arcsinh -2j: (-1.31695789692-1.57079632679j); cmath:
(1.31695789692-1.57079632679j)
----------------------------------------------------------------------
Ran 1740 tests in 10.493s
FAILED (KNOWNFAIL=1, failures=1)
<nose.result.TextTestResult run=1740 errors=0 failures=1>
Any help appreciated.
More information about the NumPy-Discussion
mailing list