Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter does not recognize files on my Desktop and will not create files to Desktop. #4316

Open
314cascio opened this issue Jan 5, 2019 · 18 comments

Comments

@314cascio
Copy link

No description provided.

@mmagnuski
Copy link

@314cascio I am not a jupyter dev, but you should give more information for someone to help you. Do you get an error, are the files on the Desktop not visible from jupyter home tab, what directory is your Jupyter started in, what happens in other folders?

@314cascio
Copy link
Author

Thanks you Mikoalj,

Here is the issue: I think OneDrve is getting in the way of Jupyter accessing my Desktop. When I enter my computer's directory via Jupyter and click on the folder named "Desktop", it appears empty (when it is not). Is there some way to disentangle my Desktop from OneDrive?

@314cascio
Copy link
Author

I can access other folders and have been working around this by viewing in Downloads, but I;d like to clean this problem up , if possible.

@314cascio
Copy link
Author

If I access the OneDrive folder first, then I can get to my Desktop.

@mmagnuski
Copy link

Are you sure it is the correct Desktop folder? You can find your desktop folder in C:\Users\yourusername\Desktop where yourusername is your user name.

@314cascio
Copy link
Author

Shouldn't I only have one Desktop folder? It is correctly populated within my Directory, but not populated when accessed through Jupyter.

@mmagnuski
Copy link

Depending on what you mean: you can have multiple folders named Desktop but only one that really corresponds to your desktop.
Just to make sure could you try the following steps:

  1. Open the command prompt (windows start, and then type cmd)
  2. navigate to your Desktop (cd C:\Users\!yourusername!\Desktop, in my case that is for example cd C:\Users\mmagn\Desktop)
  3. check what files you see when running dir
  4. run jupyter notebook now from this directory (jupyter notebook)
  5. see what files you see

@clayhanson94
Copy link

clayhanson94 commented Jul 18, 2019

Not sure if this thread is still live, I had the same issue using jupyter lab and it not updating my file even after I pulled it out of the OneDrive. I solved it by right clicking on the folder in the OneDrive and clicking on the "Always keep on this device" option. Now folders and files are updating properly.

EDIT: It looks like the only way to keep the file up to date on the OneDrive is to pull a copy off onto your computer while you work and then delete the older file before reuploading to OneDrive. Otherwise any files deleted in jupyter lab or another workspace remain in the OneDrive. I realize there may be better ways to do this but its the fix I'm rollin with till I find a better one.

@jplloyddd
Copy link

You can also go to one drive, right click "desktop" and tell it to restore to default.

@thesmitpatel
Copy link

copy Desktop folder from OneDrive and paste to yourname folder

@supuvus-kempine
Copy link

I have a similar problem, but on top of that, my Documents folder is completely empty on jupyter. I can open the folder, but there is nothing inside. Anyone knows how to fix it?

@juliewang2020
Copy link

juliewang2020 commented Jun 7, 2020

So it seems that with OneDrive, the file path of everything is ThisPC > Desktop
i.e. something like
C:\Users\jawan\OneDrive\Documents\GitHub

BUT, jupyter notebook is running from ThisPC > Windows(C:) > Users > Desktop. So you will need to move your files to actual user folders found
C:\Users\jawan\Documents\Github

@supuvus-kempine
Copy link

supuvus-kempine commented Jun 11, 2020 via email

@juliewang2020
Copy link

https://support.office.com/en-us/article/turn-off-disable-or-uninstall-onedrive-f32a17ce-3336-40fe-9c38-6efb09f944b0

I turned off OneDrive. And then I copied the OneDrive folders to my actual user account and then deleted the OneDrive folders.

@Temmytope-seun
Copy link

Hello, I just solved this issue, from the directory on Jupyter notebook, click on OneDrive, then Pictures, then look for your documents folders.

@LiarandaHorseThief
Copy link

copy Desktop folder from OneDrive and paste to yourname folder

This worked perfectly for me, I couldn't see anything before, tried this and it was immediately fixed. No more procrastinating and now I can start my course!

@alyakoubiaous
Copy link

i have the same problem even though i dont have a OneDrive account and that folder is empty.

@PawitKrai
Copy link

Dear @314cascio,

I have same issue and I try to delete ".ipynb_checkpoint" folder on desktop and then open jupyter notebook.
It work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests