Enr*_*ual 5 python windows jupyter-notebook controlled-folder-access
Jupyter is not able to save, create (I imagene delete) any file type. But I can load them fine
Creating File Failed An error occurred while creating anew file.
''' Unexpected error while saving file: untitled.txt [Errno 2] No such file or directory: 'C:\Users\me\Documents\jupyter_notebooks\untitled.txt' '''
C:\WINDOWS\system32>jupyter notebook
[I 17:15:51.888 NotebookApp] JupyterLab beta preview extension loaded from c:\users\me\appdata\local\programs\python\python35\lib\site-packages\jupyterlab
[I 17:15:51.888 NotebookApp] JupyterLab application directory is c:\users\me\appdata\local\programs\python\python35\share\jupyter\lab
[I 17:15:52.091 NotebookApp] Serving notebooks from local directory: C:\Users\me\Documents\jupyter_notebooks
[I 17:15:52.091 NotebookApp] 0 active kernels
[I 17:15:52.091 NotebookApp] The Jupyter Notebook is running at:
[I 17:15:52.091 NotebookApp] http://localhost:8888/?token=*******************************01d1a67a61
[I 17:15:52.091 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 17:15:52.127 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=*******************************01d1a67a61
[I 17:15:52.472 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[I 17:16:01.628 NotebookApp] Kernel started: 77255bad-ad7a-4714-8221-1dd90a3a34b5
[W 17:16:11.656 NotebookApp] Timeout waiting for kernel_info reply from 77255bad-ad7a-4714-8221-1dd90a3a34b5
[I 17:16:25.646 NotebookApp] Adapting to protocol v5.0 for kernel 77255bad-ad7a-4714-8221-1dd90a3a34b5
[I 17:16:26.160 NotebookApp] Saving file at /jupyter_jupyter_lab.ipynb
[E 17:16:26.543 NotebookApp] Error while saving file: jupyter_jupyter_lab.ipynb [Errno 2] No such file or directory: 'C:\\Users\\me\\Documents\\jupyter_notebooks\\.~jupyter_jupyter_lab.ipynb'
Run Code Online (Sandbox Code Playgroud)
Tried: Still the same problem
I double checked the folder location and it matches
C:\Users\me\Documents\jupyter_notebooks
I also tried: It install and runs, able to open and read but no changes allowed
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
~ /sf/answers/2986694861/
Run Code Online (Sandbox Code Playgroud)
System:
Possible contributing factors: Made some system changes two days ago, and since the problem started. I believe is a permission issue. I recall deselecting a "permissions check box" for executing scripts. but it only seemed to affect Jupyter
Not acceptable solutions:
"Try Anaconda", "Reinstall windows" - the system was working fine and continues to work, with the exception of Jupyter enability to make changes
Thank you in advance
~eb
Enr*_*ual 11
我是问题的作者...
问题是权限问题,正如我之前提到的,我确实修改了系统,但不记得我做了什么来阻止 Jupyter Notebook 像以前一样工作。我花了三天的大部分时间研究这个问题,但找不到答案,很沮丧,今天我发布了这个问题。根据几个用户的意见和建议,我能够更好地查看问题并尝试几种不同的方法。
我在“Windows Defender 安全中心”中启用了一项功能,该功能阻止 Jupyter 像以前一样工作,阻止我Notebooks在不同位置运行,更具体地说是“文档”文件夹。
如果您遇到这种情况:
这是我正在寻找的“全局”解决方案
那应该解决类似的问题
~ eb
| 归档时间: |
|
| 查看次数: |
19001 次 |
| 最近记录: |