Anaconda环境下使用pip install selenium安装失败的解决办法

明月清辉 / 2023-07-10 / 原文

背景:

在Anaconda环境下执行pip install selenium,遇到报错:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out

 

解决方法:

一般是因为网络原因造成的,如果网络不佳,就多尝试几次

python -m pip install selenium

 

参考资料:

https://blog.csdn.net/qq_45538469/article/details/113872262