[Error] 500 Internet Server Error

cs2tree·2023년 1월 31일
0

리눅스

목록 보기
1/7

폐쇄망인 개발 환경에서 pip을 이용하기 위해 인터넷망이 되는 다른 서버에서 다운로드를 받아오도록 환경설정을 하고, pip을 테스트 해보니 다음과 같은 에러가 발생했다.

에러

could not install packages due to an OSError: Httpconnectionpool(host: '~', port=~): Max retries exceeded with url: ~ (Caused by ResponseError('too many 500 error responses'))

해결방법

1.

pip install --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org 라이브러리명

일단 이걸로 해결은 된다고 한다.

reference

profile
___호기심 많은 씨앗___ 씨앗이 나무가 될 때까지 :D

0개의 댓글