[SciPy-user] ImportError: cannot import name real

Nils Wagner wagner.nils at vdi.de
Mon Sep 29 20:54:51 CDT 2003

Dear experts, 
I am using io.write_array very frequently. However this function 
is broken for the last 3 days. Is there a simple workaround until 
it's fixed in cvs ? 
Thanks in advance. 
>>> from scipy import * 
>>> help(io) 
Traceback (most recent call last): 
  File "<stdin>", line 1, in ? 
  File "/usr/lib/python2.2/site-packages/scipy_base/ppimport.py", line 258, in 
    a = a._ppimport_module 
  File "/usr/lib/python2.2/site-packages/scipy_base/ppimport.py", line 226, in 
    module = self._ppimport_importer() 
  File "/usr/lib/python2.2/site-packages/scipy_base/ppimport.py", line 204, in 
    module = __import__(name,None,None,['*']) 
  File "/usr/lib/python2.2/site-packages/scipy/io/__init__.py", line 11, in ? 
    from array_import import * 
  File "/usr/lib/python2.2/site-packages/scipy/io/array_import.py", line 13, in ? 
    from Numeric import array, take, concatenate, Float, asarray, real, imag 
ImportError: cannot import name real 

More information about the SciPy-user mailing list