2019-06-26 jupyter的安装和运行
2019-06-26 本文已影响0人
张大志的博客
安装python3环境
安装jupyter
python3 -m pip install --upgrade pip
python3 -m pip install jupyter
运行jupyter
jupyter notebook --ip=0.0.0.0 --port=8888 --allow-root
location / { #使用nginx反向代理时的配置
root /usr/share/nginx/html;
index index.html index.htm;
proxy_pass http://127.0.0.1:8888;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
# websocket support
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_read_timeout 86400;
proxy_redirect off;
}
参考:https://jupyter.org/install.html
https://jupyter.readthedocs.io/en/latest/running.html#running
https://blog.csdn.net/gubenpeiyuan/article/details/79252402
https://cloud.tencent.com/developer/article/1430695