简体   繁体   English

Windows:将 Jupyter Notebook 保存在安装驱动器以外的驱动器上

[英]Windows: Have Jupyter Notebook save on a drive other than the installation drive

My PC has HDD and SDD configuration.我的电脑有 HDD 和 SDD 配置。 By default, the SDD is selected as the C drive and when I installed Anaconda, it was installed in the C drive.默认选择 SDD 作为 C 盘,当我安装 Anaconda 时,它被安装在 C 盘。 When I open the Jupyter Notebook, it shows me the available paths to download, only in C drive.当我打开 Jupyter Notebook 时,它显示了可用的下载路径,仅在 C 驱动器中。 But I wanted to create the notebook (.ipynb) in D drive and store it there.但我想在 D 驱动器中创建笔记本(.ipynb)并将其存储在那里。 It is not showing me any paths related to D drive.它没有向我显示与 D 驱动器相关的任何路径。 How do I save my notebook in D drive?怎么把笔记本存到D盘?

Anaconda's installer hard-codes many path names. Anaconda 的安装程序对许多路径名进行了硬编码。 This has impacted me many times.这对我影响了很多次。 On a Unix box you can put in place a symlink.在 Unix 机器上,您可以放置​​一个符号链接。 Although windows has symlinks, it's hard to create and maintain them.尽管 Windows 有符号链接,但创建和维护它们很困难。 Your easiest solution is to reinstall on the D drive: Python doesn't really work well with C: and D: drives, since they are different filesystems in a different namespace.最简单的解决方案是在 D 驱动器上重新安装:Python 不适用于 C: 和 D: 驱动器,因为它们是不同命名空间中的不同文件系统。

With that said, you can also hunt around and change the Jupyter Notebook config file.话虽如此,您还可以四处寻找并更改 Jupyter Notebook 配置文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从 C 驱动器以外的驱动器打开 Jupyter Notebook - Open Jupyter Notebook from a Drive Other than C Drive 无法在网络驱动器中运行 jupyter notebook (Windows) - Can't run jupyter notebook in network drive (Windows) 在 Jupyter Notebook 中访问 iCloud Drive - Access iCloud Drive in Jupyter Notebook 如何将 selenium(jupyter notebook)中的页面源保存到本地驱动器上的 txt 文件中? - how to save page source from selenium (jupyter notebook) to a txt file on local drive? Pytest,如何在C盘以外的其他位置制作临时驱动器:Windows - Pytest, How to make a temporary drive in a different location other than C drive: Windows 如何在谷歌驱动器中的文件夹下打开 jupyter notebook? - how to open a jupyter notebook under a folder in google drive? 为什么使用 Jupyter Notebook 无法访问 Google Drive 文件夹中的文件? - Why cannot access file in Google Drive folder by using Jupyter Notebook? 如何使用 Jupyter Notebook 访问远程 smb 驱动器上的文件? - How to access a file on a remote smb drive using Jupyter Notebook? 使用python获取Windows安装驱动器 - get the windows installation drive using python 将 geoTIFF 文件从 jupyter notebook 导出到谷歌驱动器,但我的谷歌驱动器中没有任何内容 - Export a geoTIFF file from jupyter notebook to google drive but nothing appears in my google drive
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM