Python causing: IOError: [Errno 28] No space left on device: '../results/32766.html' on disk with lots of space

前端 未结 6 676
北荒
北荒 2020-12-01 10:14

I am running a Python script that is causing the above error. The unusual thing is this script is running on a different machine and is having no problems.

The diff

6条回答
  •  死守一世寂寞
    2020-12-01 11:12

    run "export TEMPDIR=/someDir" where some dir is a valid directory other than /tmp. Run this on prompt before running your python command. In my case it is "pip install rasa[spacy]" which was earlier failing.

    The export command allows you to temporarily use the specified dir as temp dir.

提交回复
热议问题