본문 바로가기

컴퓨터/주피터 (Jupyter)

Jupyter에 conda 환경(커널) 추가하기

시스템 사양 (환경)

CPU - 5900X

Memory - 96GB

Mainboard - Gigabyte, X570 Aorus Master

GPU - RX 6900XT (reference)

WSL - Ubuntu 20.04

 

conda를 이용해서 사진과 같이 여러 환경으로 구분해 뒀을때

각 환경을 jupyter에 추가하는 방법

(사진의 마지막, tfdml_plugin 환경을 추가해 보겠다.)

 

 

참고글

 

Installing the IPython kernel — IPython 8.4.0 documentation

 

Installing the IPython kernel — IPython 8.4.0 documentation

Important This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7. If you are looking for an IPython version co

ipython.readthedocs.io

 

1. 추가할 환경 활성화, conda activate 환경이름 입력

 

 

2. ipykernel 설치, pip install ipykernel 입력

 

 

3. python -m ipykernel install --user --name 환경이름 --display-name '보여질이름' 입력

 

 

주피터에서 커널 선택하기를 확인하면, 사진과 같이 환경(커널)이 추가된 것을 알 수 있다.