반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 인덱스
- Filter
- DOMAPI
- 자기지도학습
- DOM
- CSS
- 프로토콜
- 질의확장
- R
- NLP
- 정수인코딩
- Mac konlpy
- Ajax프레임워크
- 클러스터링기법
- 웹폰트
- 노마쌤
- 노트list
- 벡터
- 함수
- 신뢰구간
- 매일영어습관
- Ajax
- JS
- HTML
- 파이썬
- 노마쌤과 즐거운 영어 습관
- 명령어
- EC2
- 유의수준
- 행렬
Archives
- Today
- Total
채니의 개발일기
error: attributeerror: module 'lib' has no attribute 'x509_v_flag_cb_issuer_check 본문
프로그래밍언어/파이썬
error: attributeerror: module 'lib' has no attribute 'x509_v_flag_cb_issuer_check
윤채니챈 2023. 6. 18. 15:04728x90
반응형
! sudo rm -rf /usr/bin/openssl #OpenSSL의 파일경로
! sudo pip install pyopenssl #pyopenssl다운로드
! sudo pip3 install pyopenssl --upgrade #pyopenssl업그레이드
attributeerror: module 'lib' has no attribute 'x509_v_flag_cb_issuer_check 의 오류의 경우
: 이 오류 메시지는 보통 cryptography 패키지와 OpenSSL 라이브러리의 버전이 맞지 않아서 발생하는 경우가 대부분
대부분 터미널에서 해결하지만,
주피터에서 코드로 해결하는 방법!
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
So recently I had to reinstall python due to corrupt executable. This made one of our python scripts bomb with the following error: AttributeError: module 'lib' has no attribute '
stackoverflow.com
- OpenSSL과 관련된 오류가 발생하여 이를 해결하기 위해 OpenSSL을 제거하는 명령이용
#openssl 파일경로찾기
import subprocess
output = subprocess.check_output(['which', 'openssl'])
print(output.decode('utf-8'))
728x90
반응형
'프로그래밍언어 > 파이썬' 카테고리의 다른 글
For문 제너레이터식 형식 (0) | 2023.09.17 |
---|---|
timeit모듈, datetime-timedelta모듈 (0) | 2023.06.18 |
주피터 pip설치가 안되어있을때 (0) | 2023.06.18 |
unique() 메소드 (0) | 2023.06.12 |
값이 없을때 np.nan 사용 (0) | 2023.06.12 |