환경, redhat7.3
git clone https://github.com/facebookresearch/faiss.git ./configure --without-cuda make -j 16 make install make py
질문 0 :
구성 : 오류 : nvcc를 찾을 수 없습니다.
-./configure --with-cuda = / dev / null
질문 1:
configure : 오류 : BLAS 구현이 필요하지만 찾을 수 없습니다.
-yum openblas-devel 설치
질문 2 :
swig -python -c ++ -Doverride = -I ../ -DSWIGWORDSIZE64 -o swigfaiss.cpp swigfaiss.swig
../faiss/Index.h:72 : 오류 : input (3)에 구문 오류가 있습니다.
-yum swig3 설치
질문 3 :
TypeError : __init __ ()는 정확히 2 개의 인수를받습니다 (4 개가 주어짐)
-yum 제거 python-setuptools.noarch
pip 제거 setuptools
pip 설치 설정 도구