美文网首页
Jupyter Notebook

Jupyter Notebook

作者: belm | 来源:发表于2020-03-02 15:42 被阅读0次

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  

相关文章

网友评论

      本文标题:Jupyter Notebook

      本文链接:https://www.haomeiwen.com/subject/gwhvkhtx.html