2016-09-13 2 views
0

Conda가 CentOS에서 너무 많은 시간을들입니다. 나는 명령을 실행하고있다. conda --debug update conda. 로그가 너무 오래 걸리는 이유는 확실하지 않습니다.Conda 업데이트가 CentOS에서 너무 많은 시간입니다.

DEBUG:conda.fetch:channel_urls=OrderedDict([('https://repo.continuum.io/pkgs/free/linux-64/', ('defaults', 1)), ('https://repo.continuum.io/pkgs/free/noarch/', ('defaults', 1)), ('https://repo.continuum.io/pkgs/pro/linux-64/', ('defaults', 1)), ('https://repo.continuum.io/pkgs/pro/noarch/', ('defaults', 1))]) 
Fetching package metadata ...INFO:stdoutlog:Fetching package metadata ... 
DEBUG:requests.packages.urllib3.util.retry:Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None) 
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): repo.continuum.io 
DEBUG:requests.packages.urllib3.util.retry:Incremented Retry for (url='/pkgs/free/linux-64/repodata.json.bz2'): Retry(total=2, connect=None, read=None, redirect=None) 
WARNING:requests.packages.urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f625c420d10>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /pkgs/free/linux-64/repodata.json.bz2 
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (2): repo.continuum.io 
DEBUG:requests.packages.urllib3.util.retry:Incremented Retry for (url='/pkgs/free/linux-64/repodata.json.bz2'): Retry(total=1, connect=None, read=None, redirect=None) 
WARNING:requests.packages.urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f625c420e90>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /pkgs/free/linux-64/repodata.json.bz2 
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (3): repo.continuum.io 
DEBUG:requests.packages.urllib3.util.retry:Incremented Retry for (url='/pkgs/free/linux-64/repodata.json.bz2'): Retry(total=0, connect=None, read=None, redirect=None) 
WARNING:requests.packages.urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f625dc08050>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /pkgs/free/linux-64/repodata.json.bz2 
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (4): repo.continuum.io 

답변

0

이 문제는 스스로 해결 되었습니까? 디버그 결과에 나타난 것처럼 문제는 https://repo.continuum.io/pkgs/free/linux-64/repodata.json.bz2에 액세스 할 수 없다는 것입니다. 이는 단지 300KB 파일입니다. 그러나 문제는 다운로드 시간이 아니 었습니다. 클라이언트가 해당 URL로부터 응답을받지 못했다는 것입니다. 저는 Continuum에서 일하고 repo.continuum.io는 지난 24 시간 동안 언제든지 사용할 수 없었던 서비스 중단을 알지 못합니다. 그러나 나는 운영 팀의 일원이 아닙니다. 그 URL을 웹 브라우저 나 전화에 넣고 OK가 해결되는지 확인합니다. 그럴 경우 문제는 conda update 명령을 실행중인 CentOS 서버에서 발생할 가능성이 큽니다. wget 또는 curl 명령을 사용하여 URL을 성공적으로 해결하는지 확인할 수 있습니다. 그러한 제안이 효과를 발휘하거나 문제의 원인을 더 잘 식별하는 데 도움이되는지 알려주십시오.

0

이렇게 보니 다운로드에 시간이 너무 많이 걸리지는 않지만 URL에서 응답을받을 수 없습니다. 가장 가능성있는 원인은 방화벽을 잘못 구성했기 때문입니다. 이언은 다른 측정을 통해 잠재적으로 다른 컴퓨터/VM을 통해 URL을 확인할 수 있는지를 권장했습니다.