问题
直接pip install lxml一直报错:

根据报错内容搜索解决办法:
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
解决
最终解决办法:sudo pip install lxml --default-timeout=100 future

安装成功!
参考:点击
直接pip install lxml一直报错:

根据报错内容搜索解决办法:
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
最终解决办法:sudo pip install lxml --default-timeout=100 future

安装成功!
参考:点击
3319

被折叠的 条评论
为什么被折叠?
