报错信息:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
pip配置了需要TLS/SSL的位置,但是Python中的SSL模块不可用。
解决办法:
安装OpenSSL v1.1版本。
下载网址:Win32/Win64 OpenSSL Installer for Windows - Shining Light Productionshttps://slproweb.com/products/Win32OpenSSL.html安装3M大小V1.1版本的那个,如图:
安装完成后,如下图,取消所有勾选,点击finish完成。
再次尝试pip命令,正常不报错
pip list ;pip install xxx。
成功解决。