[Scipy-tickets] [SciPy] #1201: import scipi.io fails

SciPy Trac scipy-tickets@scipy....
Wed Jun 16 10:42:05 CDT 2010

#1201: import scipi.io fails
 Reporter:  jdbosmaus  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:  0.8.0   
Component:  Other      |     Version:  0.7.0   
 Keywords:             |  
   Python 2.6.5, scipy 0.8.0b1-win32, numpy 1.4.1-win32,
   Windows XP SP3. Intel Core 2 (model 6400)

 import scipy.io fails.

 Error message:
 `ValueError: __builtin__.file does not appear to be the correct type

 Session transcript:

 C:\Documents and Settings\jdeck>python
 Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit
 (Intel)] on win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import scipy.io
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "c:\Python26\lib\site-packages\scipy\io\__init__.py", line 75, in
     from matlab.mio import loadmat, savemat
   File "c:\Python26\lib\site-packages\scipy\io\matlab\__init__.py", line
 2, in <module>
     from mio import loadmat, savemat
   File "c:\Python26\lib\site-packages\scipy\io\matlab\mio.py", line 13, in
     from mio5 import MatFile5Reader, MatFile5Writer
   File "c:\Python26\lib\site-packages\scipy\io\matlab\mio5.py", line 90,
 in <module>
     from mio5_utils import VarReader5
   File "streams.pxd", line 3, in init scipy.io.matlab.mio5_utils
   File "streams.pyx", line 26, in init scipy.io.matlab.streams
 ValueError: __builtin__.file does not appear to be the correct type object


Ticket URL: <http://projects.scipy.org/scipy/ticket/1201>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list