반응형
직장에서 프록시 뒤에서 Anaconda로 작업하는 데 문제가 있습니다.
다음 환경 변수가있는 경우 :
http_proxy: http://domain\username:password@corp.com:8080
https_proxy: https://domain\username:password@corp.com:8080
아니면 그냥
http_proxy: http://server\username:password@corp.com:8080
설정하면 git이 작동합니다. 그러나 Anaconda는 작동하지 않습니다. 나는 달리려고 노력하고있다
conda update conda
그리고 나는 얻는다 :
Could not connect to https://repo.continuum.io/pkgs....
Could not connect to https://repo.continuum.io/pkgs....
Anaconda는 http에서 작동하지 않습니까? https 프록시가 필요합니까? 회사에 https 프록시 서버 설정이 없을 수도 있다고 생각하기 때문입니다 (http 만 사용하는 것을 보았습니다). 또는 때때로 오류가 발생합니다.
File "c\Anaconda2\", line 340, in wait
waiter.acquire()
KeyboardInterrupt
Could not connect to https://repo.continuum.io/pkgs....
Could not connect to https://repo.continuum.io/pkgs....
Windows 7을 사용하고 있습니다.
해결 방법
Windows 사용자 영역에서 .condarc 파일을 만들어야합니다.
C:\Users\<username>
파일에는 다음이 포함되어야합니다.
channels:
- defaults
# Show channel URLs when displaying what is going to be downloaded and
# in 'conda list'. The default is False.
show_channel_urls: True
allow_other_channels: True
proxy_servers:
http: http://proxy.yourorg.org:port
https: http://proxy.yourorg.org:port
ssl_verify: False
참조 페이지 https://stackoverflow.com/questions/36729023
반응형
'파이썬' 카테고리의 다른 글
파이썬에서 문자가 대문자인지 확인하는 방법은 무엇입니까? (0) | 2020.11.04 |
---|---|
파이썬 BeautifulSoup : 'Response'유형의 객체에는 len ()이 없습니다. (0) | 2020.11.04 |
파이썬 Django - The current URL, , didn't match any of these (0) | 2020.11.04 |
파이썬에서 하나의 if 문에 대해 여러 조건을 갖는 방법 (0) | 2020.11.04 |
파이썬 숫자 열 정렬 (표 형식으로 출력 인쇄) (0) | 2020.11.04 |
댓글