pip安装faiss包(gpu版本) pip --default-time=1000 install -i https://pypi.tuna.tsinghua.edu.cn/simple faiss-gpu 这里要注意安装faiss包是faiss-gpu