logo

Python Jupyter

wangzf / 2022-07-13


目录

Install Jupyter

Jupyter 相关库:

安装 Jupyter 相关库

$ pip install jupyter
$ pip install notebook
$ pip install jupyterlab
$ pip install voila

Jupyter kernel 设置

$ pip instll ipykernel
$ jupyter kernelspec list
$ conda activate env_name
$ python -m ipykernel install --prefix=/Users/zfwang/Applications/miniconda3/envs/env_name/ --name env_name
$ ipykernel install --name env_name --user
$ jupyter kernelspec remove python3

JupyterLab 1.0

$ jupyter lab -h
$ jupyter lab --port="8080" --ip="*" --notebook-dir="/path/..."
$ jupyter lab --generate-config
$ jupyter lab password