- Create conda environment
$ conda create -n practice_pandas
- Check conda environment
$ conda env list
# conda environments:
#
base * /Users/joohyunyoon/.pyenv/versions/anaconda3-2021.05
practice_pandas /Users/joohyunyoon/.pyenv/versions/anaconda3-2021.05/envs/practice_pandas
- Activate conda environment
$ conda activate practice_pandas
(practice_pandas) $
- Install libraries
$ pip install decouple
Requirement already satisfied: decouple in /Users/joohyunyoon/.pyenv/versions/anaconda3-2021.05/lib/python3.8/site-packages (0.0.7)
- Jupyter Server:local (VS Code)
- Run jupyter notebook
$ jupyter notebook
[I 2021-11-01 17:56:24.905 LabApp] JupyterLab extension loaded from /Users/joohyunyoon/.pyenv/versions/anaconda3-2021.05/lib/python3.8/site-packages/jupyterlab
...
http://localhost:8888/?token=f9f3230d7fc8e18f78b5c20569de7028edd40952e952e149
or
- Connect to Jupyter (VS Code)
Insert URL to Existing.
Then, it connects to Jupyter Server:Remote
It can be also run in Jupyter.
'Environment > Anaconda' 카테고리의 다른 글
conda update (0) | 2022.03.02 |
---|---|
Environment Configuration (0) | 2021.11.02 |
create, activate, deactivate, install, info --envs, list, forge, remove (0) | 2021.01.04 |