티스토리 뷰
SOLVED.
The problem was that the environment variable REQUESTS_CA_BUNDLE was not set in the Anaconda Prompt shell profile, or any other command shell profile such as Git or Cmdr. Below are the steps I used to correct this in the various shells. You only have to set this variable in the shell you are using.
You can verify REQUESTS_CA_BUNDLE is set in the shell by typing 'conda info -s' then look at the REQUESTS_CA_BUNDLE entry in the list, which in my case was not set.
For Anaconda Prompt -- You need to enter the 'set' command each time since it is not saved. Copy and paste the following at the prompt, but change the {username} to your own computer.
set REQUESTS_CA_BUNDLE=C:\users\{username}\anaconda3\Lib\site-packages\certifi\cacert.pem
For CMDR -- (Cmder is a console emulator downloaded from cmder.net)
Open the following profile file in a text editor: C:\cmder\config\user-profile.sh
Then insert the following line:
export REQUESTS_CA_BUNDLE='C:\users\{username}\anaconda3\Lib\site-packages\certifi\cacert.pem'
Then run Cmdr and open a new console -> {bash::bash as Admin}
You can now use the Cmdr shell to run conda.
For Git Bash shell
Open the following profile file in a text editor: C:\users{username}.bashrc
Then insert the following line:
export REQUESTS_CA_BUNDLE='C:\users\{username}\anaconda3\Lib\site-packages\certifi\cacert.pem'
You can now use the Git Bash shell to run conda.
Notes:
If you don't have the cacert.pem file in the certifi folder mentioned above, you can download it from
Now conda works. Hurray!
'IT꿀팁' 카테고리의 다른 글
synology docker jupyterhub simultaneous running (0) | 2019.03.19 |
---|---|
jupyter notebook에서 pdf 변환 시 한글이 안될 경우, (1) | 2019.03.13 |
Docker Jupyter Notebook 세팅방법 (0) | 2019.01.18 |
Package openjdk-7-jdk is not available 발생시 (0) | 2019.01.06 |
Synology Docker Jupyter Notebook에서 크롤링(Crawling)하기 위한 Chromedriver 사용 방법 (7) | 2019.01.04 |
- Total
- Today
- Yesterday
- 가변압
- 스페셜리타
- 블로우업호퍼
- 커피머신
- ITOP3605
- 에스프레소
- 잔량
- 블로워
- X54
- 아브대장
- CRM 3605
- 화렵
- gemilai
- OPV
- 미뇽
- 싱글호퍼
- 호퍼
- 알리 커피머신
- 중국 커피머신
- 알리
- 맥널티
- 블로우업 호퍼
- 펌프
- 블로우업
- 유레카
- 말코닉홈
- 싱글도징
- CRM3605
- 엔코
- 믕믕공방
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |