ERROR: Could not find a version that satisfies the requirement flake8 (from versions: none)
ERROR: No matching distribution found for flake8
干脆不使用https://pypi.python.org网站了,我们用一个镜像网站,那边是:
http://pypi.doubanio.com/simple/
对应的命令行就是
pip install 安装包名字 -i http://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com
参考:https://blog.csdn.net/weixin_42001089/article/details/84403842