[SciPy-dev] Problems with io.read_array

Nils Wagner nwagner at mecha.uni-stuttgart.de
Sat May 24 11:43:46 CDT 2003


Hi all,

there seems to be a problem with io.read_array, that is

Traceback (most recent call last):
  File "answer.py", line 4, in ?
    f = io.read_array(file,separator=' ',linesep='\n')
  File "/usr/local/lib/python2.1/site-packages/scipy_base/ppimport.py",
line 211, in __getattr__
    module = self._ppimport_importer()
  File "/usr/local/lib/python2.1/site-packages/scipy_base/ppimport.py",
line 190, in _ppimport_importer
    module = __import__(name,None,None,['*'])
  File "/usr/local/lib/python2.1/site-packages/scipy/io/__init__.py",
line 10, in ?
    from mio import *
  File "/usr/local/lib/python2.1/site-packages/scipy/io/mio.py", line 4,
in ?
    from MLab import squeeze
  File "/usr/local/lib/python2.1/site-packages/Numeric/MLab.py", line
20, in ?
    import RandomArray
  File "/usr/local/lib/python2.1/site-packages/Numeric/RandomArray.py",
line 30, in ?
    seed()
  File "/usr/local/lib/python2.1/site-packages/Numeric/RandomArray.py",
line 22, in seed
    import time
  File "time.py", line 3, in ?
  File "/usr/local/lib/python2.1/site-packages/scipy_base/ppimport.py",
line 211, in __getattr__
    module = self._ppimport_importer()
  File "/usr/local/lib/python2.1/site-packages/scipy_base/ppimport.py",
line 183, in _ppimport_importer
    assert module is self,`module`
AssertionError: <module 'scipy.io' from
'/usr/local/lib/python2.1/site-packages/scipy/io/__init__.pyc'>

Any idea ?

Nils




More information about the Scipy-dev mailing list