- 需要安装插件
pip install --upgrade jupyter_http_over_ws && \
jupyter serverextension enable --py jupyter_http_over_ws
- 启动
jupyter notebook \
--NotebookApp.allow_origin='https://colab.research.google.com' \
--port=8889 \
--NotebookApp.port_retries=0