Python] 가상환경 만들기, jupyter 설치, kernel 연결

파이썬 버전도 지정하여 가상환경을 생성하고 싶으면 두 번째 줄에 있는 코드를 사용하면 된다.

conda create -n name
conda create -n name_38 python=3.8

 

 

가상환경 목록 확인하기

conda env list

 

가상환경 활성화, 비활성화, 삭제

conda activate name_38
conda deactivate
conda env remove -n name_38

 

 

가상환경에 jupyter notebook 설치, kernel 연결

conda activate name_38
pip install jupyter notebook
python -m ipykernel install --user --name name_38 --display-name "name_38"

 

 

가상환경에 jupyter notebook 설치, kernel 연결

conda list

 

가상환경에 pip show 라이브러리

pip show tensorflow

 

conda search 라이브러리

conda search 라이브러리

 

 

라이브러리 삭제

pip uninstall 라이브러리

'Python > 기초_설정' 카테고리의 다른 글

Python] 버전 변경  (0) 2023.11.14

버전 변경

python -V
conda search python
conda install python=x.x.x

 

 

+ Recent posts