pip install faiss-gpu失败unable to execute ‘swig‘: No such file or directory

1. 安装报错

unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1

2. 解决方法

$ sudo apt-get install swig

猜你喜欢

转载自blog.csdn.net/wohu1104/article/details/114846546