Skip to content
Advertisement

installing cPickle with python 3.5

This might be silly but I am unable to install cPickle with python 3.5 docker image

Dockerfile

JavaScript

requirements.txt

JavaScript

When I try to build the image

JavaScript

Advertisement

Answer

cPickle comes with the standard library… in python 2.x. You are on python 3.x, so if you want cPickle, you can do this:

JavaScript

However, in 3.x, it’s easier just to use pickle.

No need to install anything. If something requires cPickle in python 3.x, then that’s probably a bug.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement