pip3 指定國內(nèi)源,臨時(shí)加速安裝
-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/
啟動(dòng):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 環(huán)境
https://colab.research.google.com/notebooks/welcome.ipynb
Jupyter 官方的 Binder 平臺(tái)
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
設(shè)置密碼
jupyter notebook password