annoy 安装
QS1: gcc 版本太低, 需要进行升级
参考: http://www.vpser.net/manage/centos-6-upgrade-gcc.html
QS2:在安装的时候回遇到以下的情况,提示 “fatal error: Python.h: No such file or directory”
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8nik2grm/annoy_8d4a0092f225406a9a9d27f03a9146b5/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8nik2grm/annoy_8d4a0092f225406a9a9d27f03a9146b5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-__bt1mwd/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/