คำสั่งเกี่ยวกับ Jupyter Notebook



คำสั่งเกี่ยวกับ Jupyter
## Create the virtual environment
conda create -n 'environment_name' python=X.X

## Activate the virtual environment
conda activate 'environment_name'

## Make sure that ipykernel is installed
pip install --user ipykernel

## Add the new virtual environment to Jupyter
python -m ipykernel install --user --name='environment_name'

## To list existing Jupyter virtual environments
jupyter kernelspec list

## To list existing conda environments
conda env list

## To remove conda environment
conda env remove -n 'environment_name'

## To remove the environment from Jupyter
jupyter kernelspec uninstall 'environment_name'
jupyter kernelspec remove 'environment_name'
Previous
Next Post »