如果安装了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
在服务器Anaconda 环境中,安装环境自动关联包
conda install nb_conda
配置指定在jupyter运行的conda虚拟环境
pip install ipykernel
python -m ipykernel install