缺少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

技术共进,成长同行——讯飞AI开发者社区

更多推荐