【报错】FileNotFoundError: [Errno 2] No usable temporary directory found in [‘/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/huchaobin’] WARNING: There was an error checking the latest version of pip.
问题描述:在pip安装torchsummary包时出现如下报错

问题分析:应该是内存不够安装了,删掉一些没用环境或者删掉一些没用的包
解决方法:我有些环境是已经不需要的了,所以我删掉了一些环境,随后就解决了这个报错
conda remove -n yourname --all

当尝试使用pip安装torchsummary时遇到FileNotFoundError,原因是内存不足。解决方法包括删除不再需要的环境和包,如通过`condaremove--allyourname`操作。
7万+

被折叠的 条评论
为什么被折叠?



