在使用pip install selenium时遇到错误
Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/57/bc/17164fd471ccdf0df3a992c710c0c3c47743462ff41ab72a02c6ede96e90/selenium-3.12.0-py2.py3-none-any.whl (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
google好好久都找不到好的解决办法,国外源网络慢的原因
最后解决命令是
pip install selenium -i https://pypi.douban.com/simple/ --trusted-host pypi.douban.com
可这也不是长久之计啊,配全局?也觉得不是好办法