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

本文介绍了解决JupyterNotebook配置错误导致无法启动的问题,主要关注如何修改配置文件中的notebook_dir路径,以确保JupyterNotebook能够正确识别并打开指定的工作目录。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最开始使用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行改成能用的就行了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值