问题:
Jupyter 无法保存、创建(我删除)任何文件类型。但我可以很好地加载它们
创建文件示例
创建文件失败 创建新文件时出错。
''' 保存文件时出现意外错误:untitled.txt [Errno 2] 没有这样的文件或目录:'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'
试过: 还是一样的问题
我仔细检查了文件夹位置,它匹配
C:\Users\me\Documents\jupyter_notebooks
我也试过:它安装并运行,能够打开和阅读,但不允许更改
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
~ https://stackoverflow.com/a/42667069/6202092
系统:
- 视窗 10
- Python 环境:2.7 & 3.5
- 包管理器:pip / pip3
可能的促成因素: 两天前进行了一些系统更改,并且自问题开始以来。我相信是一个许可问题。我记得取消选择执行脚本的“权限复选框”。但它似乎只影响 Jupyter
不可接受的解决方案:
“尝试 Anaconda”、“重新安装 Windows” - 系统工作正常并继续工作,但 Jupyter 无法进行更改
先感谢您
~eb