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

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即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章