windows pip install failed

 Could not fetch URL https://pypi.org/simple/selenium/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/selenium/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

windows pip install failed_第1张图片解决方案:

将pip安装源改成国内地址

pip install selenium -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

selenium 就是你要安装的包

你可能感兴趣的:(python,pip,Python)