简体   繁体   中英

Can't run jupyter notebook in network drive (Windows)

I'm trying to open a jupyter notebook in a network drive using an Anaconda prompt but the prompt won't let me cd into the network drive, presumably because it is not local? Is there a way to do it?

When changing drives in a windows command prompt (cmd.exe) you need to use the /d argument:

Syntax CD [/D] [drive:][path] CD [..]

Key /D: change the current DRIVE in addition to changing folder.

In your case: cd /d "Z:\Wilson Lab\Mel" .

See here for more info.

By the way, when using powershell this is not necessary.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM