1、windows系统下打开cmd,输入:jupyter notebook --generate-config,就会在jupyter目录(c盘的用户目录)下生成配置文件:jupyter_lab_config.py
2、打开配置文件,找到c.ServerApp.notebook_dir=“”,添加路径位置(去掉前面的#并顶格)
3、重新启动jupyter lab即可。可以从anaconda启动,也可以打开cmd输入jupyter lab启动
jupyter lab:默认目录的修改方法
最新推荐文章于 2024-06-08 16:51:09 发布