后来就pip安装发现出现这样的情况:
在后来经过百度发现,是自己目前Python版本的原因:
描述: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:
解决:>>> import _pickle as cPickle
注意:However, in 3.x, it's easier just to use pickle.so,No need to install anything.
网友评论