PythonAnywhere Forums

Disk quota exceeded

I am trying to pip install my app dependancy packages through the requirements.txt and it installs a few packages then after some time it throws an error of OSError: [Errno 122] Disk quota exceeded while my disk quota according to the files tab is 58% full, so I am wondering what might be problem

The install process is cleaning up the partially installed package after the failure.

so that means the packages did not get installed

Yes. (Or maybe it got partially installed)

why cant i access the sudo functionality via the bash console?

basically because it's a security risk.

You can install all pure python packages using the --user flag though. See here for more information.

for anyone else running into this problem, we now have a help page about dealing with disk quota exceeded errors