Jupyter Notebook说超出了我的磁盘配额,但是主目录中有足够的空间 [英] Jupyter Notebook says that my disk quota is being exceeded, but I have plenty of space in my home directory

查看:474
本文介绍了Jupyter Notebook说超出了我的磁盘配额,但是主目录中有足够的空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行Jupyter Notebook,但是在运行所有单元格后不久,出现以下错误.

I am trying to run my Jupyter Notebook, but soon after running all the cells, I get the following error.

Unexpected error while saving file <notebook path> [Errno 122] disk quota exceeded

问题是,我有足够的可用空间,所以我不知道怎么可能超出磁盘空间.我在其他地方看过,有人说要删除以下文件:

The thing is though, I have plenty of space available, so I don't know how I could have exceeded my disk space. I've looked elsewhere, and somebody said to delete the following file:

~/.ipython/profile_default/history.sqlite

我做到了,但是我仍然遇到相同的问题.我需要删除一些临时文件吗?

I did that, but I still encounter the same issue. Are there temp files somewhere that I need to delete?

推荐答案

Jupyter Notebook/Jupyter Lab及其分类的内核都以相同的方式运行.这些笔记本会在您选择从中启动笔记本的任何目录中打开并运行.

Jupyter Notebook / Jupyter Lab, and their assorted kernels all operate the same way. These notebooks open and function in whatever directory you choose to launch the notebooks from.

某些人使用命令提示符,然后使用更改目录命令(cd)导航到他们选择的文件夹.在选定的文件夹中,然后在命令提示符下键入:Jupyter Notebook或Jupyter Lab.然后,笔记本将在该文件夹中启动.

Some people use the command prompt and then navigate using the change directory command (cd) to move to their chosen folder. Once at that chosen folder, then from the command prompt, type: Jupyter Notebook, or Jupyter Lab. The Notebook then launches in that folder.

其他人(包括我在内)使用git bash启动笔记本电脑.只需使用Windows资源管理器并单击所需的任何文件夹套件,然后使用鼠标上下文菜单(在该文件夹中单击鼠标右键)并选择在Bash中打开".然后在Ming64终端中,键入Jupyter Notebook或Jupyter Lab.

Other people, me included, use git bash to launch a Notebook. Just use the windows explorer and click to whatever folder suites you fancy, then using the mouse context menu (right click in that folder) and select, Open in Bash. Then in the Ming64 terminal, type, Jupyter Notebook or Jupyter Lab.

新的笔记本文件(名称为ipynb)将位于您决定从中启动笔记本的文件夹中.笔记本将自动保存.自动保存的配置可能可以调整,但是我从来没有打扰过.

New notebook files (name. ipynb) will be in whichever folder you've decided to launch the Notebook from. The Notebooks will autosave. The autosave config can probably be adjusted, but I've never bothered.

注意在Notebook工作区底部的自动保存.通常将指示已完成保存",否则将指示正在进行保存.

Watch for the autosave across the bottom of the Notebook workspace. It will usually indicate, "Saving Completed", otherwise is will indicate saving is occurring.

这篇关于Jupyter Notebook说超出了我的磁盘配额,但是主目录中有足够的空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆