0%

Jupyter使用

1、安装

1
conda install jupyter

2、配置

生成自定义配置文件

1
jupyter notebook --generate-config

生成的配置文件的路径

1
C:\Users\Default Account\.jupyter\jupyter_notebook_config.py

1、取消启动的密码

1
# c.NotebookApp.token = '<generated>'
1
c.NotebookApp.token = ' '

2、修改默认地址

1
2
3
#c.NotebookApp.notebook_dir = ''
c.NotebookApp.notebook_dir = 'your path'
c.NotebookApp.notebook_dir = 'O:\Jupyter'

3、设置代码补全

1
pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple!

设置代码补全的教程:https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/master/README.md

4、Vscode中使用Jupyter

https://blog.csdn.net/u013709332/article/details/105029123

相关教程:https://blog.csdn.net/weixin_37595559/article/details/81540482

numpy官网:https://www.numpy.org.cn/

matplotlib官网:https://www.matplotlib.org.cn/

iBoy wechat
欢迎您扫一扫上面的微信公众号,订阅我的博客!