Hi
I am running a simulation on a Mac:
QuTiP Version: 3.1.0
Numpy Version: 1.6.2
Scipy Version: 0.11.0
Cython Version: 0.22
Matplotlib Version: 1.1.1
Fortran mcsolver: True
scikits.umfpack: False
Python Version: 2.7.5
Platform Info: Darwin (x86_64)
Installation path: /Library/Python/2.7/site-packages/qutip
and generating a .qu file with qutip.qsave("filename"). When I try to open the file on my windows machine:
QuTiP Version: 3.1.0
Numpy Version: 1.9.1
Scipy Version: 0.15.1
Cython Version: 0.21.2
Matplotlib Version: 1.4.2
Fortran mcsolver: False
scikits.umfpack: False
Python Version: 3.4.2
Platform Info: Windows (AMD64)
Installation path: C:\Python34\lib\site-packages\qutip
I get the following error:
File "<ipython-input-11-f9d390548180>", line 1, in <module>
qload("runNo0_0_states")
File "C:\Python34\lib\site-packages\qutip\fileio.py", line 280, in qload
out = pickle.load(fileObject) # return the object from the file
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 0: ordinal not in range(128)
I am able to open it on the Mac machine. I attach the file here. I thought it was a version mismatch issue, so I updated my windows machine to qutip 3.1.0. Can it be related to python version mismatch? I can open normal pickle generated files across the two machines...
Thanks,
mikkel