安装python的过程中出现错误:
ERROR: Could not find a version that satisfies the requirement flake8 (from versions: none)
ERROR: No matching distribution found for flake8
ERROR: Could not find a version that satisfies the requirement yapf (from versions: none)
ERROR: No matching distribution found for yapf
解决方案:
pip install flake8 -i http://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com
pip install yapf -i http://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com
原因:
干脆不使用https://pypi.python.org网站了,我们用一个镜像网站,那边是:
http://pypi.doubanio.com/simple/
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)