
EC2 인스턴스에서 pip3가 작동하도록 할 수 없습니다. 일부 연구에 따르면 pip는 보안 그룹에서 연 포트 3128에서 실행됩니다. netcat과 telnet을 사용하여 이것이 작동하는지 확인했습니다.
이것이 중요한지는 모르겠지만 127.0.0.1이 아닌 0.0.0.0에서 수신하는 경우에만 작동합니다.
어쨌든 pip3은 아무것도 설치할 수 없습니다. 내가 온라인에서 찾은 모든 것은 내가 프록시나 회사 방화벽 뒤에 있다는 것을 의미하지만 그렇지 않습니다. 기본 EC2 인스턴스, 사전 구성된 기본 VPC.
정확한 오류는 모든 pip 패키지에서 동일하지만 현재 xmlsec을 얻으려고 합니다.
$ pip3 install xmlsec
Collecting xmlsec
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f86aab4add8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/xmlsec/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f86aab4a860>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/xmlsec/
^COperation cancelled by user
누구든지 아이디어가 있나요? 매우 감사.