Mac安装Jupyter搭建及使用

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/qq_44287129/article/details/102547608

如果安装了anaconda,应该就有了。直接运行一下jupyter notebook

安装(python3.7)

pip install --user jupyter

添加环境变量

cd ~
open .bash_profile
export PATH=/Users/zhangpu01/anaconda3/bin:$PATH

生效配置

source .bash_profile

运行jupyter

jupyter notebook

结束服务

ctrl + c

配置ubuntu远程登陆

vi .jupyter/jupyter_notebook_config.py

或者使用jupyter 指定端口和IP,这个的话,就每次启用都要输入

jupyter notebook --port 5623 --ip=10.0.119.253

猜你喜欢

转载自blog.csdn.net/qq_44287129/article/details/102547608