OSError: [Errno 122] Disk quota exceeded
The reason is that the disk quota is insufficient, that is, the disk is full or exceeds the maximum quota that users can use.
You can view quota limits and used quotas with the following command:
quota -uvs username
As shown in the figure blow:

Among them, 'space' is the used storage, and 'limit' is the limited storage, so you need to delete the file until the limit is lifted to resolve the error.