環境、redhat7.3
git clone https://github.com/facebookresearch/faiss.git ./configure --without-cuda make -j 16 インストールする pyを作る
質問0:
構成:エラー:nvccが見つかりませんでした
--./configure --with-cuda = / dev / null
質問1:
configure:エラー:BLASの実装が必要ですが、何も見つかりませんでした。
--yum install openblas-devel
質問2:
swig -python -c ++ -Doverride = -I ../ -DSWIGWORDSIZE64 -o swigfaiss.cpp swigfaiss.swig
../faiss/Index.h:72:エラー:input(3)の構文エラー。
--yum install swig3
質問3:
TypeError:__ init __()は正確に2つの引数を取ります(4つ指定)
--yum removepython-setuptools.noarch
pipアンインストールsetuptools
pip install setuptools