pip3 指定国内源,临时加速安装
-i https://mirrors.aliyun.com/pypi/simple/
pip3 install jupyterlab -i https://mirrors.aliyun.com/pypi/simple/
pip3 install notebook -i https://mirrors.aliyun.com/pypi/simple/
pip3 install voila -i https://mirrors.aliyun.com/pypi/simple/
启动:jupyter notebook
永久修改pip3加速源
mkdir ~/.pip && cd .pip
vim pip.conf
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
Google Colab 环境
https://colab.research.google.com/notebooks/welcome.ipynb
Jupyter 官方的 Binder 平台
https://mybinder.readthedocs.io/en/latest/index.html
生成配置文件
jupyter notebook --generate-config
vim /root/.jupyter/jupyter_notebook_config.py
c.NotebookApp.allow_root = True
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888
设置密码
jupyter notebook password