ERROR: Could not find a version that satisfies the requirement pickle (from versions: none) ERROR: No matching distribution found for pickle

Hi @daphnedomingo :wave:

Thanks for sharing the link to your repo! Both pickle and bz2 are part of the Python standard library. As such, they can’t be installed with pip. To fix the Could not find a version... error, delete lines 4 and 5 from the requirements file.

When I made the above change :point_up: to my forked copy of the requirements file, the app successfully imported pickle and bz2. However, there was an issue loading the compressed pickled model. I suspect the model uploaded via Git LFS may be corrupted, but I can’t be sure.

If you run into the unpickling issue, it might warrant a new forum thread :eyes:

Happy Streamlit’ing! :balloon:
Snehan

1 Like