I am new to Jupyter Notebook and am unable to delete various files (both notebooks and uploaded .txt files). I can copy the files without issue, and delete the copies. Attempting to rename the files gives me a Permission Denied error. This happens with some files and not with others. When I try to move the files, a copy is moved instead.
I use 2 environments in my jupyter notebook (Which I run as administrator from Anaconda Notebook), the error occurs when accessing the notebook from either environment.
Below I have included an example of the problem, with some names removed for privacy.
Traceback (most recent call last): File "C:ProgramDataAnaconda3envsAshlandslibsite-packagesornadoweb.py", line 1704, in _execute result = await result File "C:ProgramDataAnaconda3envsAshlandslibsite-packagesornadogen.py", line 234, in wrapper yielded = ctx_run(next, result) File "C:ProgramDataAnaconda3envsAshlandslibsite-packages
otebookservicescontentshandlers.py", line 237, in delete yield maybe_future(cm.delete(path)) File "C:ProgramDataAnaconda3envsAshlandslibsite-packages
otebookservicescontentsmanager.py", line 279, in delete self.delete_file(path) File "C:ProgramDataAnaconda3envsAshlandslibsite-packages
otebookservicescontentsfilemanager.py", line 546, in delete_file send2trash(os_path) File "C:ProgramDataAnaconda3envsAshlandslibsite-packagessend2trashplat_win.py", line 86, in send2trash raise WindowsError(None, None, path, result) PermissionError: [WinError 32] None: 'C:Users[my name][folder name][filename].txt'
Please help if you can, useless files are piling up and it is driving me nuts.
question from:
https://stackoverflow.com/questions/65866447/why-am-i-getting-a-delete-failed-error-from-anaconda-jupyter-notebook-an-error 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…