VScode 에서 anaconda python 환경을 만든 후 ipynb 개발을 위해서 환경 세팅하는 방법입니다
일반적인 anaconda 환경을 만든 후 ipykernel을 install하면 되지만 중간에 HTTPS 에러가 생겨서 그에 따른 해결방법입니다.
anaconda prompt
conda create -n <환경명> python=<버전명>
conda list
conda env list
conda activate
conda activate <환경명>
install ipykernel
pip install ipykernel
HTTPS error
CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to download and install packages.
Exception: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
conda path
where python
Error solution
anaconda>3>Library>bin 에서
- libcrypto-1_1-x64.dll
- libssl-1_1-x64.dll
anaconda3>DLLs에 추가
에러가 해결되지 않으면 재시작 후 실행
저는 재시작 까지 완료 후 해결되었습니다
참고자료