본문 바로가기
Study/Python

Python Error 해결 방법

by Becoming a Hacker 2020. 9. 21.
반응형

Error 1 : AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

python -m easy_install --upgrade pyOpenSSL

 

Error 2 : UnicodeDecodeError: 'ascii' codec can't decode byte ~

import sys
reload(sys)
sys.setdefaultencoding('utf-8')

 

Error 3: insecureRequestWarning: Unverified HTTPS request

requests.packages.urllib3.disable_warnings(requests.packages.urllib3.exceptions.InsecureRequestWarning)
반응형

댓글