Unable to install Pickle5 package

#58
by AmazingIntelligence - opened

Unable to install pickcle5 package. Looks like it is deprecated.
image.png

Any other package that can be used?

Ditto. I'm trying to do this course, hard to do when so much is broken

I was able to make it work by using simple the pickle implementation already built in python.

  1. Take the requirements and removed pickle5 from the required installs.
!pip install -r https://raw.githubusercontent.com/huggingface/deep-rl-class/main/notebooks/unit2/requirements-unit2.txt

I just quickly installed as follows

!pip install gymnasium pygame numpy huggingface_hub pyyaml==6.0 imageio imageio_ffmpeg pyglet==1.5.1 tqdm
  1. Exchanged the import pickle5 as pickle with import pickle

And I was able to make it work that way as the pickle5 implementation since it appears that pickle5 was part of the backport of the functionalities back in python 3.8.3.

And this was all done in Colab, pickle5 was only important for earlier versions of python.

Just import pickle instead and it should work

AmazingIntelligence changed discussion status to closed

Sign up or log in to comment