lsn上安装jupyter
安装jupyter
pip3 install jupyter
1.输入.jupyter notebook --generate-config --allow-root
会出现配置文件的位置 Writing default config to: /home/teenie/.jupyter/jupyter_notebook_config.py
2.修改jupyter_notebook_config.py,对脚本配置文件进行更改。
c.NotebookApp.ip = '127.0.0.1'
c.NotebookApp.open_browser = True
这两个去除注释,打上自己的端口,我用的是127.0.0.1即可
3.命令行重新输入jupyter notebook即可
jupyter notebook --ip 127.0.0.1
windows上安装jupyter
pip install jupyter notebook
jupyter notebook