ERROR: Could not find a version that satisfies the requirement cPickle (from versions: none)

阅读 82

2022-02-06

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

pip install cPickle失败

当我通过pip install 方式进行cPickle的安装的时候,出现了上述错误,错误显示如下图所示:
在这里插入图片描述

当你遇到这个错误的时候,如果我没猜错的话,你应该用的是python3,但是这个包是基于python2的

解决办法:import _pickle as cPickle ,使用该方式使用cPickle即可。
————————————————

精彩评论(0)

0 0 举报