Technical questionAccepted answer
Python 3.7 Error: Unsupported Pickle Protocol 5
hubbs5
Aug 9
0 views1
I'm trying to restore a pickled config file from RLLib (json didn't work as shown in this post), and getting the following error:
config = pickle.load(open(f"{path}/params.pkl", "rb"))
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-28-c964561b863c> in <module>
----> 1 config = pickle.load(open(f"{path}/params.pkl", "rb"))
ValueError: unsupported pickle protocol: 5
Python Version = 3.7.0
How can I open this file in 3.7?
1 answer
2 question comments
Use comments to ask for clarification. Post a solution as an answer.
hubbs5Permalink
Aug 9
Unfortunately, I don't. Trying to track that down though.