在windows中,安装了Anaconda,使用jupter notebook,配置默认路径如下:
1. 初始化生成配置文件
C:\Users\Demi>jupyter notebook --generate-config
但是却报错了,如下:
问度娘是需要把Anacadon\Library\bin 路径配置到环境变量中。
如果报错jupyter不是内外或外部命令,将找到jupyter.exe的路径配置到环境变量里。
在这个路径C:\Users\Demi\.jupyter下找到这个文件jupyter_notebook_config.py。
打开文件,找到
## The directory to use for notebooks and kernels.