Issue
I am trying to delete an empty directory in Jupyter notebook. When I select the folder and click Delete, an error message pops up saying: 'A directory must be empty before being deleted.'
There are no files or folders in the directory and it is empty.
Any advice on how to delete it?
Thank you!
Solution
Usually, Jupyter itself creates a hidden .ipynb_checkpoints
folder within the directory when you inspect it. You can check its existence (or any other hidden file/folders) in the directory using ls -a
in a terminal that has a current working directory as the corresponding folder.
Answered By - Farzad Vertigo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.