ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory:报错处理

在安装compressai的时候,想用它自带的setup.py把相应库安装好,但是需要先下载pybind11
下载时遇到如下问题:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory
据说是包管理器有一些缓存文件导致的,因此清了一下缓存。
pip cache purge
重新下载就可以了

posted @ 2023-12-29 21:28  浪矢-CL  阅读(216)  评论(0编辑  收藏  举报