본문 바로가기

Basic/[Python] Etc.

Jupyter Notebook - 가상 환경 설치

가상 환경 생성

conda create -n 가상환경 이름

 

* 해당 python version으로 가상환경 설치하기 

conda create -n 가상환경 이름 python=3.8

 

가상 환경 활성화 / 비활성화

conda activate 가상환경

conda deactivate 가상환경

 

ipykernel 설치 

pip install ipykernel

python -m ipykernel install --user --name 가상환경 이름

 

가상환경 삭제

jupyter kernelspec uninstall 커널 이름

conda remove --name 가상환경 이름 --all