오류
[root@localhost utils]# pip install --upgrade pip
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/
해결법
설정해놓은 네임서버에서 pypi 홈페이지를 찾아갈 수 없는 모양..
현재 학교에 설치해둔 서버의 네임서버엔 학교 네임서버만 등록되어 있었다.
학교 ISP인 kt의 네임서버를 추가해줌으로 해결
vi /etc/resolv.conf
nameserver 168.126.63.1 // kt dns
'Computer Engineering > Linux' 카테고리의 다른 글
[CentOS] libtool configure failed (0) | 2016.04.08 |
---|---|
[CentOS] PIP 설치 (0) | 2016.04.04 |
[CentOS] libsctp 설치 (0) | 2016.03.30 |
[CentOS] JSON 라이브러리 jansson 설치 (0) | 2016.02.22 |
[CentOS] configure: error: Can't find ext2fs library (0) | 2016.02.11 |