"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
时间: 2023-10-13 13:56:47 浏览: 259
"ssl" module is compiled with LibreSSL 2.8.3" 这个错误是由于urllib3库的版本与OpenSSL版本不兼容导致的。根据引用\[1\]和引用\[2\]的信息,你可以尝试回退urllib3的版本来解决这个问题。具体操作是使用以下命令安装urllib3的1.25.11版本:pip install urllib3==1.25.11。这样就可以解决"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "ssl" module is compiled with LibreSSL 2.8.3"的错误了。\[3\]
#### 引用[.reference_title]
- *1* [Python报错ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module is ...](https://blog.csdn.net/qq_38122800/article/details/130603051)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [记录一下安装requests库遇到的坑](https://blog.csdn.net/tyxtyxttt/article/details/130530333)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文