CentOS7上faiss环境准备

git clone https://github.com/facebookresearch/faiss.git

yum install openblas

yum install libopenblas

yum install openblas-openmp64.x86_64

yum install openblas*

./configure

make

yum install python-dev

yum install python-dev*

yum install python3-devel*

yum install python36-devel.x86_64

export CPLUS_INCLUDE_PATH=/usr/include/python2.7/:/usr/local/include/faiss [修改/etc/profile]

make install

make test

你可能感兴趣的:(算法讨论)