問題描述
操作環境win10,pthon以及pip版本如下
D:>py --version Python 3.8.0 D:>py -m pip --version pip 22.0.3 from ... (python 3.8)
升級pip之后(變成了如上版本)嘗試pip install notebook以及pip install pillow都報如下錯誤
ERROR: Could not find a version that satisfies the requirement <包名> (from versions: none)
ERROR: No matching distribution found for <包名>
解決辦法
參考:https://zhuanlan.zhihu.com/p/361790784
pip install 包名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com