我想通过conda install -c pytorch faiss-gpu在Lambda Stack上安装Faiss-GPU,但没有安装conda。
我尝试了这里提到的解决方案:使用这个版本的faiss https://anaconda.org/pytorch/faiss-gpu/1.6.0/download/linux-64/faiss-gpu-1.6.0-py36h1a5d453_0.tar.bz2的Installing faiss on Google Colaboratory,但它说:
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 Stack上安装Faiss的正确方法是什么?
发布于 2021-01-27 05:25:06
如果您是colab,只需尝试以下操作:
!sudo apt-get install libomp-dev然后它就起作用了。
https://stackoverflow.com/questions/58679596
复制相似问题