缺少faiss包报错,解决方案:

激活虚拟环境,进行安装

1.  pip install faiss-gpu

报错:

ERROR: Could not find a version that satisfies the requirement faiss-gpu (from versions: none)
ERROR: No matching distribution found for faiss-gpu

2.  从Links for faiss-gpu下载.whl文件仍然出现错误

解决:终端进入环境:conda install -c conda-forge faiss-gpu

下载完成

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐