• 파이썬으로 pip, pip3명령으로 설치 시 egg_info 실패가 발생 가능
  • egg_info 에러는 setuptools에서 에러가 발생한 것
  • setuptools을 업그레이드 하면 해결 가능

증상: pip install시 에러 Command python setup.py egg_info failed with error code 1


해결: pip setuptools 재설치 → root 권한 필요

$ pip3 install --upgrade --ignore-installed pip setuptools

pip setuptools 재설치 후 pip3로 패키지 재설치 시 정상 확인

# requests 패키지 설치
$ pip3 install requests

참고 URL : https://melonicedlatte.com/android/2018/05/21/221524.html
참고 URL : https://musclebear.tistory.com/131

+ Recent posts