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

1. Installation error

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

2. Solution

$ sudo apt-get install swig

Guess you like

Origin blog.csdn.net/wohu1104/article/details/114846546