从 C 驱动器以外的驱动器打开 Jupyter Notebook [英] Open Jupyter Notebook from a Drive Other than C Drive
问题描述
我在驱动器 D 中有一个机器学习项目.它包含 python 笔记本文件.但是当我通过命令提示符启动 jupyter notebook 时,它只显示驱动器 C 内的目录.如何在不更改 jupyter notebook 启动路径的情况下导航到 C 驱动器以外的驱动器?.我正在使用 Windows 10 操作系统.我找到的所有解决方案,试图更改笔记本启动路径.
I have a machine learning project in drive D. It contains python notebook files. But when I launch jupyter notebook through command prompt, it only shows directories inside drive C. How can I navigate to a drive other than C drive without changing jupyter notebook startup path?. I'm using windows 10 operating system. All the solutions I found, trying to change notebook startup path.
推荐答案
您可以使用 --notebook-dir
选项从您想要的任何驱动器/位置启动它.
You can launch it from any drive/location you want with the --notebook-dir
option.
例如:
jupyter notebook --notebook-dir=D:/
这篇关于从 C 驱动器以外的驱动器打开 Jupyter Notebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!