No usable temporary directory found

后端 未结 9 1592
迷失自我
迷失自我 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 06:19

    I had the same problem while running a python script in Docker. The following command fixed it for me:

    docker rmi $(docker images --quiet --filter "dangling=true")
    

提交回复
热议问题