最近老是遇到安装
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/requests/
WARNING:
这个问题,原来是是被限制了。
可以添加镜像的方法解决
pip3 install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple/
推荐使用清华的镜像,其他的可能找不到版本。
国内几个pip源如下:
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/