Skip to content Skip to sidebar Skip to footer

Importerror: No Module Named Array_import -----scipy

I am facing problem with importing io module in scipy and python shell shows an error as following. import scipy.io.array_import ImportError: No module named array_import Please

Solution 1:

See this message on the SciPy user mailing list:

I am facing problem with importing io module in scipy and python shell shows an error as following.

import scipy.io.array_import
ImportError: No module named array_import

array_import was removed in Scipy 0.8. If you are looking for read_array and write_array, you should use numpy.savetxt and numpy.loadtxt instead.

Solution 2:

numpy.loadtxt is a function, not a module. That's why you can't import loadtxt:

In [33]: import numpy
In [34]: numpy.loadtxtOut[34]: <functionloadtxtat0x9f8bca4>

Post a Comment for "Importerror: No Module Named Array_import -----scipy"