环境
CentOS7 7.9.2009 X64
宝塔版本:7.7.0
报错代码:
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'
解决办法:
在VPS的Shell中输入
btpip install -I requests==2.27
bt 1
搞定。
参考资料:https://forum.aapanel.com/d/18039-importerror-urllib3-v20-only-supports-openssl-111/2