반응형
#가상환경 만들기및 실행 

conda create -n jupiter-env python

# To activate this environment, use
#
#     $ conda activate jupiter-env
#
# To deactivate an active environment, use
#
#     $ conda deactivate

conda info --env
# conda environments:
#
base                     C:\ProgramData\Anaconda3
jupiter-env           *  C:\ProgramData\Anaconda3\envs\jupiter-env
main                     C:\ProgramData\Anaconda3\envs\main

(jupiter-env) D:\python\jupyter_data> conda install -y jupyter
(jupiter-env) D:\python\jupyter_data> conda install -y bokeh
(jupiter-env) D:\python\jupyter_data> conda install -y pandas
(jupiter-env) D:\python\jupyter_data> conda install -y matplotlib


(jupiter-env) D:\python\jupyter_data>mkdir notebook
(jupiter-env) D:\python\jupyter_data>cd notebook

# jupyter notebook 실행
(jupiter-env) D:\python\jupyter_data\notebook>jupyter notebook

 

VScode :

이름: Jupyter
ID: ms-toolsai.jupyter
버전: 2022.2.1030672458
게시자: Microsoft VS Marketplace 

링크: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter

Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more.

 


# Config 파일 생성 - Jupyter Notebook의 기본 설정
(jupiter-env) D:\python\jupyter_data\notebook>jupyter notebook --generate-config
Writing default config to: C:\Users\pydata\.jupyter\jupyter_notebook_config.py

반응형

+ Recent posts