conda

개발/Python

Jupyter notebook kernel 등록

가상환경을 만들 때마다 ipykernel을 등록해줘야 하는 게 불편해서 글을 적어봅니다. (anaconda를 사용하고있음) kaggle이라는 가상환경 이름을 사용하겠습니다. 설치과정 1. 가상환경 생성 conda create -n testenv python=3.7 2. 가상환경 접속 source activate testenv 3. 가상환경에서 jupyter notebook 설치 pip install ipykernel jupyter 4. jupyter notebook에 가상환경 커널 등록 python -m ipykernel install --user --name testenv --display-name testenv 제거과정 1. 가상환경 나가기 source deactivate testenv 2. jupy..

모플로
'conda' 태그의 글 목록