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

AttributeError: module '_pickle' has no attribute 'HIGHEST_PROTOCOL' #86

Open
Ronzhen opened this issue Sep 28, 2019 · 1 comment
Open

Comments

@Ronzhen
Copy link

Ronzhen commented Sep 28, 2019

How do you solve this problem?
improved_wgan_training-master/tflib/plot.py", line 46, in flush
pickle.dump(dict(_since_beginning), f, pickle.HIGHEST_PROTOCOL)
AttributeError: module '_pickle' has no attribute 'HIGHEST_PROTOCOL'

Thank you

@sh-s-AI
Copy link

sh-s-AI commented Oct 6, 2019

@Ronzhen replace -1 instead of HIGHEST_PROTOCOL :
pickle.dump(dict(_since_beginning), f, -1)

teamblue-e2 added a commit to teamblue-e2/enigma2 that referenced this issue Jul 22, 2020
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