You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to run this example but I have found some problems.
First, when I run the command import cPickle I have got the following error:
ImportError: No module named 'cPickle'
Searching on the web, I found this command: import _pickle as cPickle and the error ImportError: No module named 'cPickle' disappears.
However, when I run the first command Xd = cPickle.load(open("RML2016.10a.dat",'rb')) again the following error appears:
Traceback (most recent call last): File "<ipython-input-42-221bdee5fae3>", line 1, in <module> Xd = cPickle.load(open("RML2016.10a.dat",'rb')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc1 in position 2: ordinal not in range(128)
My python version is 3.4.3
What is the cause of this UnicodeDecodeError?
Thanks for the attention.
The text was updated successfully, but these errors were encountered:
I have tried to run this example but I have found some problems.
First, when I run the command import cPickle I have got the following error:
ImportError: No module named 'cPickle'
Searching on the web, I found this command:
import _pickle as cPickle
and the errorImportError: No module named 'cPickle'
disappears.However, when I run the first command
Xd = cPickle.load(open("RML2016.10a.dat",'rb'))
again the following error appears:Traceback (most recent call last): File "<ipython-input-42-221bdee5fae3>", line 1, in <module> Xd = cPickle.load(open("RML2016.10a.dat",'rb')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc1 in position 2: ordinal not in range(128)
My python version is
3.4.3
What is the cause of this UnicodeDecodeError?
Thanks for the attention.
The text was updated successfully, but these errors were encountered: