当前位置: 代码迷 >> 综合 >> jupyter notebook在anaconda 中打不开(因默认文件夹的问题)
  详细解决方案

jupyter notebook在anaconda 中打不开(因默认文件夹的问题)

热度:44   发布时间:2023-12-05 21:38:02.0

最开始使用jupyter notebook的时候改了一下c.NotebookApp.notebook_dir,大概意思就是指浏览器中默

    specification retrieval.  (JUPYTER_GATEWAY_URL env var)

To see all available configurables, use `--help-all`

Examples
--------

    jupyter notebook                       # start the notebook
    jupyter notebook --certfile=mycert.pem # use SSL/TLS certificate
    jupyter notebook password              # enter a password to protect the server

[C 22:12:21.419 NotebookApp] Bad config encountered during initialization:
[C 22:12:21.420 NotebookApp] No such notebook dir: ''E:\\gitgraduatework''

(notebook) C:\Users\ytcomputer>j

认的开始文件夹的位置吧。后来我把那个文件夹删了就导致打不开了

所以解决办法:C:\Users(中文的话就是用户)\(个人电脑的账户名)\.jupyter的xxx---config配置文件266行改成能用的就行了