在Lambd上安装Faiss

2024-05-15 14:40:42 发布

您现在位置:Python中文网/ 问答频道 /正文

我想通过conda install -c pytorch faiss-gpu在Lambda堆栈上安装Faiss GPU,但是没有安装conda。在

我尝试了这里提到的解决方案:Installing faiss on Google Colaboratory使用这个版本的faiss https://anaconda.org/pytorch/faiss-gpu/1.6.0/download/linux-64/faiss-gpu-1.6.0-py36h1a5d453_0.tar.bz2,但是它说:

ImportError: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory

ModuleNotFoundError: No module named '_swigfaiss_avx2'

ImportError: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory

ModuleNotFoundError: No module named '_swigfaiss'

在Lambda堆栈上安装Faiss的正确方法是什么?在

谢谢。在


Tags: lambdanosogpu堆栈pytorchcondafile