错误信息:pip is configured with locations that require TLS/SSL, however the ssl module in
Python is not available.
错误原因:
1、OpenSSL没有配置到环境变量中(如果安装的是anaconda,环境变量配置缺少)
2、OpenSSL没有安装(更多可能性)
解决方法:
1、自行查找环境变量配置方式
2、下载OpenSSL.
https://slproweb.com/products/Win32OpenSSL.html
下载在最下面
在下载requestss库的时候遇到问题:
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。:
'c:\\program files (x86)\\python\\Lib\\site-packages\\urllib3'
Consider using the `--user` option or check the permissions.
按照他的提示使用--user就可以下载了