2019-07-24T03:35:22 Created temporary directory: /tmp/pip-ephem-wheel-cache-f83en_tf 2019-07-24T03:35:22 Created temporary directory: /tmp/pip-req-tracker-ja0fgrjb 2019-07-24T03:35:22 Created requirements tracker '/tmp/pip-req-tracker-ja0fgrjb' 2019-07-24T03:35:22 Created temporary directory: /tmp/pip-wheel-yh4bkpsn 2019-07-24T03:35:22 Collecting faiss-gpu==1.5.3 2019-07-24T03:35:22 1 location(s) to search for versions of faiss-gpu: 2019-07-24T03:35:22 * https://pypi.org/simple/faiss-gpu/ 2019-07-24T03:35:22 Getting page https://pypi.org/simple/faiss-gpu/ 2019-07-24T03:35:22 Analyzing links from page https://pypi.org/simple/faiss-gpu/ 2019-07-24T03:35:22 Found link https://files.pythonhosted.org/packages/3d/66/763c315d1258d5c6690929bc6deb0f05f4af01e3abaf44895e39bbbf74f4/faiss-gpu-1.5.3.tar.gz#sha256=9387ea8451db00ee1c7d0db5de5194b9d040e50969f481f4893b11aa5fe00fc3 (from https://pypi.org/simple/faiss-gpu/), version: 1.5.3 2019-07-24T03:35:22 Skipping link https://files.pythonhosted.org/packages/ac/09/9d6545e7fbeaab314ff36b89b90b5361ac52e1007bf0679c4a6939f8a8f8/faiss_gpu-1.5.3-cp27-cp27mu-manylinux2010_x86_64.whl#sha256=953dac0b4e6f9b147aec11003f82d4a8d6a26f8f20d49658226a6842ca7da68c (from https://pypi.org/simple/faiss-gpu/); it is not compatible with this Python 2019-07-24T03:35:22 Skipping link https://files.pythonhosted.org/packages/8b/eb/729186d1494365f1d6926fffd54d2717cfb6ac99dade32b26255b35fe69e/faiss_gpu-1.5.3-cp35-cp35m-manylinux2010_x86_64.whl#sha256=7f88bc599e3c00727594ae788667f805197634f767ae6529fc87fe3d7046c635 (from https://pypi.org/simple/faiss-gpu/); it is not compatible with this Python 2019-07-24T03:35:22 Skipping link https://files.pythonhosted.org/packages/23/96/60477f7b7741710eb7dbca78781c1c920442c5ae864136b9a150118895dc/faiss_gpu-1.5.3-cp36-cp36m-manylinux2010_x86_64.whl#sha256=623aa244ccdb773a3f0836d7a73589a8b041c8d94ea2c89cc178bad320c890af (from https://pypi.org/simple/faiss-gpu/); it is not compatible with this Python 2019-07-24T03:35:22 Skipping link https://files.pythonhosted.org/packages/c7/8d/a0f52c8ca314faa16541a6a8a92884a03e035fcb7337f66e4dfdeaab0b23/faiss_gpu-1.5.3-cp37-cp37m-manylinux2010_x86_64.whl#sha256=ca2ab27768cd30763624b12dda2ab259da3b6b6f2bc6618a04210f1797ae5243 (from https://pypi.org/simple/faiss-gpu/); it is not compatible with this Python 2019-07-24T03:35:22 Using version 1.5.3 (newest of versions: 1.5.3) 2019-07-24T03:35:22 Created temporary directory: /tmp/pip-unpack-4w5ga3gs 2019-07-24T03:35:22 Downloading https://files.pythonhosted.org/packages/3d/66/763c315d1258d5c6690929bc6deb0f05f4af01e3abaf44895e39bbbf74f4/faiss-gpu-1.5.3.tar.gz 2019-07-24T03:35:22 Downloading from URL https://files.pythonhosted.org/packages/3d/66/763c315d1258d5c6690929bc6deb0f05f4af01e3abaf44895e39bbbf74f4/faiss-gpu-1.5.3.tar.gz#sha256=9387ea8451db00ee1c7d0db5de5194b9d040e50969f481f4893b11aa5fe00fc3 (from https://pypi.org/simple/faiss-gpu/) 2019-07-24T03:35:22 Added faiss-gpu==1.5.3 from https://files.pythonhosted.org/packages/3d/66/763c315d1258d5c6690929bc6deb0f05f4af01e3abaf44895e39bbbf74f4/faiss-gpu-1.5.3.tar.gz#sha256=9387ea8451db00ee1c7d0db5de5194b9d040e50969f481f4893b11aa5fe00fc3 to build tracker '/tmp/pip-req-tracker-ja0fgrjb' 2019-07-24T03:35:22 Running setup.py (path:/tmp/pip-wheel-yh4bkpsn/faiss-gpu/setup.py) egg_info for package faiss-gpu 2019-07-24T03:35:22 Running command python setup.py egg_info 2019-07-24T03:35:24 running egg_info 2019-07-24T03:35:24 creating pip-egg-info/faiss_gpu.egg-info 2019-07-24T03:35:24 writing pip-egg-info/faiss_gpu.egg-info/PKG-INFO 2019-07-24T03:35:24 writing dependency_links to pip-egg-info/faiss_gpu.egg-info/dependency_links.txt 2019-07-24T03:35:24 writing requirements to pip-egg-info/faiss_gpu.egg-info/requires.txt 2019-07-24T03:35:24 writing top-level names to pip-egg-info/faiss_gpu.egg-info/top_level.txt 2019-07-24T03:35:24 writing manifest file 'pip-egg-info/faiss_gpu.egg-info/SOURCES.txt' 2019-07-24T03:35:24 reading manifest file 'pip-egg-info/faiss_gpu.egg-info/SOURCES.txt' 2019-07-24T03:35:24 writing manifest file 'pip-egg-info/faiss_gpu.egg-info/SOURCES.txt' 2019-07-24T03:35:24 Source in /tmp/pip-wheel-yh4bkpsn/faiss-gpu has version 1.5.3, which satisfies requirement faiss-gpu==1.5.3 from https://files.pythonhosted.org/packages/3d/66/763c315d1258d5c6690929bc6deb0f05f4af01e3abaf44895e39bbbf74f4/faiss-gpu-1.5.3.tar.gz#sha256=9387ea8451db00ee1c7d0db5de5194b9d040e50969f481f4893b11aa5fe00fc3 2019-07-24T03:35:24 Removed faiss-gpu==1.5.3 from https://files.pythonhosted.org/packages/3d/66/763c315d1258d5c6690929bc6deb0f05f4af01e3abaf44895e39bbbf74f4/faiss-gpu-1.5.3.tar.gz#sha256=9387ea8451db00ee1c7d0db5de5194b9d040e50969f481f4893b11aa5fe00fc3 from build tracker '/tmp/pip-req-tracker-ja0fgrjb' 2019-07-24T03:35:24 Building wheels for collected packages: faiss-gpu 2019-07-24T03:35:24 Created temporary directory: /tmp/pip-wheel-911muwk_ 2019-07-24T03:35:24 Building wheel for faiss-gpu (setup.py): started 2019-07-24T03:35:24 Destination directory: /tmp/pip-wheel-911muwk_ 2019-07-24T03:35:24 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-yh4bkpsn/faiss-gpu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-911muwk_ 2019-07-24T03:35:26 running bdist_wheel 2019-07-24T03:35:26 running build 2019-07-24T03:35:26 running build_ext 2019-07-24T03:35:26 building 'faiss._swigfaiss' extension 2019-07-24T03:35:26 swigging python/swigfaiss.i to python/swigfaiss_wrap.cpp 2019-07-24T03:35:26 swig -python -c++ -Doverride= -I/usr/local/include/faiss -I/usr/local/cuda/include -DGPU_WRAPPER -DSWIGWORDSIZE64 -o python/swigfaiss_wrap.cpp python/swigfaiss.i 2019-07-24T03:35:26 unable to execute 'swig': No such file or directory 2019-07-24T03:35:26 error: command 'swig' failed with exit status 1 2019-07-24T03:35:26 Building wheel for faiss-gpu (setup.py): finished with status 'error' 2019-07-24T03:35:26 ERROR: Failed building wheel for faiss-gpu 2019-07-24T03:35:26 Running setup.py clean for faiss-gpu 2019-07-24T03:35:26 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-yh4bkpsn/faiss-gpu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-07-24T03:35:28 running clean 2019-07-24T03:35:28 'build/lib.linux-armv7l-3.7' does not exist -- can't clean it 2019-07-24T03:35:28 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-24T03:35:28 'build/scripts-3.7' does not exist -- can't clean it 2019-07-24T03:35:28 Failed to build faiss-gpu 2019-07-24T03:35:28 Cleaning up... 2019-07-24T03:35:28 Removing source in /tmp/pip-wheel-yh4bkpsn/faiss-gpu 2019-07-24T03:35:28 Removed build tracker '/tmp/pip-req-tracker-ja0fgrjb' 2019-07-24T03:35:28 ERROR: Failed to build one or more wheels 2019-07-24T03:35:28 Exception information: 2019-07-24T03:35:28 Traceback (most recent call last): 2019-07-24T03:35:28 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-24T03:35:28 status = self.run(options, args) 2019-07-24T03:35:28 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-24T03:35:28 "Failed to build one or more wheels" 2019-07-24T03:35:28 pip._internal.exceptions.CommandError: Failed to build one or more wheels