1、安装anaconda
下载anaconda包(下载参考网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/),一直点击下一步,中间有个安装地址可以修改
2、在任意文件夹下打开jupyter
系统设置—关于—高级系统设置—环境变量—单击Path(系统变量的Path)–编辑—新建—添加下面三个地址
D:\Anaconda3
D:\Anaconda3\Scripts
D:\Anaconda3\Library\bin
新建一个记事本,命名为“jupyter notebook.bat”,编辑内容为“jupyter notebook”,放到路径:Anaconda3—Scripts文件夹里。之后就可以直接右键,点击jupyter notebook here就打开了
如果没有上述步骤也可以在任意文件夹下,按住Shift+右键,点击“在此处打开Powershell窗口”输入jupyter notebook,回车就可以了
3、jupyter自动换行显示
**** 打开文件C:\Users\‘用户名’\.jupyter\nbconfig\notebook.json(在 cmd 中查看 文件路径:jupyter