Notice
Recent Posts
Recent Comments
Link
«   2025/04   »
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
Archives
Today
Total
관리 메뉴

말랑코딩

python jupyter notebook에 가상환경 커널 추가 본문

카테고리 없음

python jupyter notebook에 가상환경 커널 추가

코랑이 2022. 2. 10. 17:09

현재 나는 anaconda 환경에서 작업중임.

 

1. ipykernel 라이브러리 설치되어있는지 확인하고, 안 되어 있으면 설치하기.

conda list ipykernel # 있는지 확인
conda install ipykernel # 없으면 설치

 

2. jupyter notebook 에 현재 가상환경을 추가하기

torch_new는 내가 사용하고있는 가상환경 이름이다.

python -m ipykernel install --user --name torch_new  --display-name torch_new

 

아래와 같이 잘 설치됐다고 뜬다.

 

3. 브라우저로 접속해서 확인

torch_new 라는 커널이 잘 추가되었다 ^^

Comments