Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsupported pickle protocol: 3 with python 2.7 #23

Open
xie186 opened this issue Apr 11, 2018 · 1 comment
Open

unsupported pickle protocol: 3 with python 2.7 #23

xie186 opened this issue Apr 11, 2018 · 1 comment

Comments

@xie186
Copy link

xie186 commented Apr 11, 2018

>>> from pickle import load
>>> with open('./test_data_dict.pckl', 'rb') as f:
...    data_dict = load(f)
...
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/usr/lib64/python2.7/pickle.py", line 1378, in load
    return Unpickler(file).load()
  File "/usr/lib64/python2.7/pickle.py", line 858, in load
    dispatch[key](self)
  File "/usr/lib64/python2.7/pickle.py", line 886, in load_proto
    raise ValueError, "unsupported pickle protocol: %d" % proto
ValueError: unsupported pickle protocol: 3

What's the possible reason for this error? Thanks.

@unitemir
Copy link

unitemir commented Dec 9, 2021

:c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants