No usable temporary directory found

后端 未结 9 1641
迷失自我
迷失自我 2020-12-14 05:51

I am trying to find a temp directory , but when i am trying to get the directory using

tempfile.gettempdir()

it\'s giving me error of

9条回答
  •  我在风中等你
    2020-12-14 05:53

    I got this when my root drive (/dev/sda1) was corrupted on my Ubuntu.

    Rebooted, got the error /dev/sda1 contains a file system with errors.

    Followed instructions here: https://askubuntu.com/questions/885062/root-file-system-requires-manual-fsck, which was to fsck -y twice. Then exit to reboot.

提交回复
热议问题