ImportError: cannot import name 'decodestring' from 'base64' (env path)
replacing "from base64 import decodestring" with "from base64 import decodebytes"
env path로 이동 후,
http_urllib3.py, http_requests.py 의 decodestring 을 decodebytes 로 수정
출처
Bug 1894188 - ImportError: cannot import name 'decodestring' from 'base64'
'DB > Elasticsearch' 카테고리의 다른 글
[Elasticsearch] 전체 index 확인 (0) | 2021.10.06 |
---|---|
[Elasticsearch with Python] elasticsearch 외부접속 시 newconnection error (0) | 2021.03.25 |