当前位置:网站首页>Jupyter notebook修改默认开启路径
Jupyter notebook修改默认开启路径
2022-04-21 09:57:00 【学到老才能活到老】
看了一些教程,我也试了好几次,还是这个最完善一些,没有什么问题,
jupyter notebook默认的开启路径是在C盘下,有时候C盘东西太多会给系统造成一定压力,所以建议修改到C盘以外的文件夹下,首先,想好你要放在哪,在那个位置新建一个文件夹,记住从盘符开始路径里面不能有中文,然后我们打开Anaconda prompt命令行输入下面这条命令
jupyter notebook --generate-config
如果是这样的就没有问题,中间可能会有一个?[y/N]输入y回车就行

这时我么已经可以看到一个路径,最后指向的是jupyter_notebook_config.py文件,根据路径找到这个文件,右键编辑,

打开后按ctrl+F(查找快捷键),输入 notebook_dir ,查找这一行,是这样的,前面本来有个#注释符

在' '中填入要存放的路径,记住这里在\之前要在加上一个\,转义一下,然后保存关闭。

然后我们找到jupyter notebook快捷方式点击“打开文件所在位置”,

右键属性,这两个地方修改一下,下面是位置,上面删除最后面的【%USERPROFILE%】,点击应用,确定,关闭,完成。

版权声明
本文为[学到老才能活到老]所创,转载请带上原文链接,感谢
https://blog.csdn.net/MARS_098/article/details/106289232
边栏推荐
猜你喜欢
随机推荐
A tool that is easier to use and more powerful than Navicat!
Operation of simulated examination platform of special operation certificate examination question bank for safety production management personnel of hazardous chemical production units in 2022
Ansible_ 02_ playbook
每日一题(2022-04-20)——文件的最长绝对路径
ConvNeXt
Promise处理复杂异步
wap图片
[pytorch] monai Vit 网络 图文分析
一文读懂Seek Tiger推出创世节点的意义
ArrayList集合
Daily question (2022-04-19) - the shortest distance of characters
ESP32 寻迹模块测试
5_数据分析—数据可视化
Installation de MySQL dans docker sous CentOS
Mapbox 创建多个可拖动的标记点
Japanese brother's open source "self abuse artifact" exploded overnight: use the handle to control his face, take the code and bear the consequences
[Yugong series] April 2022 wechat applet - aggregation of the use of maps
Uniapp style penetration
【手拉手 带你准备电赛】近期小总结
jeecgboot:online表单控件下拉框和下拉搜索框的区别





![[pytorch] Monai vit network graphic analysis](/img/2d/7d81bb8281dec7e66c7420b18fb4b6.png)



