在Python3.8中下载程序包cpickle
输入Python
输入 import pickle as cPickle
还是错误怎么解决
在Python3.8中下载程序包cpickle
输入Python
输入 import pickle as cPickle
因为python3+版本不兼容python2+,
在python3+下,是没有cPickle,而python2+中有cPickle,
解决方法是在python3中将cPickle改为pickle
你要导入包 cPickle 按照下面方式导入,使用cPickle.属性/类/方法即可
import pickle as cPickle
有帮助请点一下右上角的采纳,谢谢