- Forum
- 메인 게시판
- Tips
- 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'
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'
-
xixixaxa
(OOooOOoo) -
이 글의 작성자
- Offline
- Newbie
-
덜보기
더보기
- Posts: 47
- Thank you received: 0
21 Jul 2023 08:50 - 21 Jul 2023 08:51 #32063
작성자: xixixaxa
내 해결책은 다음과 같다.
성공.
xixixaxa 님의 글: 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'
$ python3 test.py
Traceback (most recent call last):
File "wiki.py", line 1, in <module>
import wikipediaapi
File "/home/xixixaxa/.local/lib/python3.7/site-packages/wikipediaapi/__init__.py", line 17, in <module>
import requests
File "/home/xixixaxa/.local/lib/python3.7/site-packages/requests/__init__.py", line 43, in <module>
import urllib3
File "/home/xixixaxa/.local/lib/python3.7/site-packages/urllib3/__init__.py", line 42, in <module>
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
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'. See: https://github.com/urllib3/urllib3/issues/2168
내 해결책은 다음과 같다.
$ pip3 uninstall urllib3
$ pip3 install 'urllib3<2.0'
- Forum
- 메인 게시판
- Tips
- 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'
Time to create page: 0.060 seconds