본문 바로가기
메모

python pip에서 AttributeError: 'NoneType' object has no attribute 'bytes'

by jskimm 2022. 1. 10.
728x90

AttributeError: 'NoneType' object has no attribute 'bytes'

pip 로 파이썬 모듈 설치중 위 오류가 발생하는 경우, pip를 강제로 재설치 해주면 해결된다.
pip 버전이 맞지 않아 발생하는 오류이다.

[python -m] pip install -U --force-reinstall pip

또는

easy_install -U pip

로 해결 가능하다.

728x90

'메모' 카테고리의 다른 글

[알고리즘] 정렬 알고리즘 간단 정리  (1) 2022.01.11
pwnable Dockerfile  (1) 2022.01.11
Profile  (4) 2022.01.11

댓글