2019-07-01T04:08:12 Created temporary directory: /tmp/pip-ephem-wheel-cache-d1xayojq 2019-07-01T04:08:12 Created temporary directory: /tmp/pip-req-tracker-ekeswt9r 2019-07-01T04:08:12 Created requirements tracker '/tmp/pip-req-tracker-ekeswt9r' 2019-07-01T04:08:12 Created temporary directory: /tmp/pip-wheel-ojmtnf00 2019-07-01T04:08:12 Collecting annoy==1.1.1 2019-07-01T04:08:12 1 location(s) to search for versions of annoy: 2019-07-01T04:08:12 * https://pypi.org/simple/annoy/ 2019-07-01T04:08:12 Getting page https://pypi.org/simple/annoy/ 2019-07-01T04:08:13 Analyzing links from page https://pypi.org/simple/annoy/ 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/38/e0/2894e96a2072b729a8be6ccab827ad0a7002fdd108a27aefca703b52a630/annoy-1.0.tar.gz#sha256=2c73f2f21999952b1d9735425f0303824b29d25d11698a34ebdfa952a92768e9 (from https://pypi.org/simple/annoy/), version: 1.0 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/94/88/e7866feaa26e1ce0da1050a03ab3e1589b9721f00cb1a6f9cd5aad2b18da/annoy-1.0.1.tar.gz#sha256=a7bda187929b4d31805edd6a933cbada9d5b465b7bb9affe2844b986222bbaf8 (from https://pypi.org/simple/annoy/), version: 1.0.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/e7/f5/51968a73b7cb81973f12612e9bff9bd5665f39a6b67455d12124f725ae0d/annoy-1.0.2.tar.gz#sha256=6bdee98c900e72d77fe1814bf8e18a0fa8f4d1ae3ee8f1ef1b2617fa26a02c8a (from https://pypi.org/simple/annoy/), version: 1.0.2 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/fb/bd/0eaa670a05cbb699b2bb5b7e528033ac11b1fcc906a34fe12cd0d1c46f0f/annoy-1.0.3.tar.gz#sha256=5ca80a258bddb9e5cd98190638e4f824c212d1e54f3e932e092f87ef5e4dc7a1 (from https://pypi.org/simple/annoy/), version: 1.0.3 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/aa/61/f297896a07b18c8c634c0632786c22eb91c6e7d11fc8e71c8c71b4b87b27/annoy-1.0.4.tar.gz#sha256=a18f221905b4007653aeaee35dc675118872b072cf5b64651ceae2aabead3a6d (from https://pypi.org/simple/annoy/), version: 1.0.4 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/30/31/56ad61b57600b06e4ca390cf7e6c525cf1824c33c4028909bfad975a20bd/annoy-1.0.5.tar.gz#sha256=93e4faed778c41aa16ccdabd08bafedcf123aa096bd58e118f3b9799eda07fb6 (from https://pypi.org/simple/annoy/), version: 1.0.5 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/5a/a4/2829fc2887a7e9f190955166b109932531b31ff6d5b410d06b63f89b901c/annoy-1.1.1.tar.gz#sha256=5755b01e62b61e47137035888866c76286452b0d1db840feaf837ccb8a8350cb (from https://pypi.org/simple/annoy/), version: 1.1.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/d8/66/24f73e530b2cf243a19c05103275cf9ccfff83205cbe8214a7e46d7304bc/annoy-1.2.1.tar.gz#sha256=6f5e4df1d7054d2c3fbbb9b9bba9022488d1a88158bc9087d00f0c8e8c759aef (from https://pypi.org/simple/annoy/), version: 1.2.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/64/ac/2438a580ca0622aa92449775b14d60115444c30f9fb3c733377f1e22df87/annoy-1.2.2.tar.gz#sha256=69db6723ebc9df2ff458304f7b75ca9287bf92e565ad7b6a2dd978c5bab75523 (from https://pypi.org/simple/annoy/), version: 1.2.2 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/eb/30/551d129e19216b9c2a6cf7440ff877e83ee97ec121d2f06639488a38ab2b/annoy-1.3.1.tar.gz#sha256=5ec90011b2637e1d015ab17d7b6e609f2c8c5f58959066fc3876b60919b09ef0 (from https://pypi.org/simple/annoy/), version: 1.3.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/b9/6c/f4e357bcdec0d8948c23459baa8bca04bcbe9e5771a10126953b714b5f31/annoy-1.3.2.tar.gz#sha256=6c7e8ae8d7f00496426a3b12c807917624687b880cd6b25a2ee071ed008e4f11 (from https://pypi.org/simple/annoy/), version: 1.3.2 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/3d/95/df172afb0b4b3ef9fe00c17b3ee354221aa8ac30dc3312289d8c8e46cdcf/annoy-1.4.1.tar.gz#sha256=0fb89d7975f376610f67ee03c0284ef01f63fcd8286d48ad9a0ddcf6d402160f (from https://pypi.org/simple/annoy/), version: 1.4.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/27/0d/83aeb728dc0652e376c384a4f0b27b4b3ce6e2e2a0054fa9fa5c4d102ddd/annoy-1.5.1.tar.gz#sha256=2ee290b3ae0fada52c310966eea7f0aee0123f92678138702d33de7036fc48da (from https://pypi.org/simple/annoy/), version: 1.5.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/b7/54/96cb02ad090e2c3e388343e3be66316ed2f282ae3b309c89efcbea4590b0/annoy-1.5.2.tar.gz#sha256=39be32e80d35d031936721e8ee997e045fdcf16744ee7b249270acd08769516f (from https://pypi.org/simple/annoy/), version: 1.5.2 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/04/1d/8197a3a00eda4426d646403d4cc6519ed6d2a37e7131c05c5c334b9942ce/annoy-1.6.0.tar.gz#sha256=2036bc3eab0d621c2fc2449b97bb870cfdf30b5657be646b58977823a1574e19 (from https://pypi.org/simple/annoy/), version: 1.6.0 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/70/1d/983c70bec3d96e2f16d2ca85cbf14957dc812b60eaecc572380d450e96c3/annoy-1.6.1.tar.gz#sha256=ac68661d7820b567d54dcc9a044840c4659a1fd2b1a3a173bfd4383cebc9e3b6 (from https://pypi.org/simple/annoy/), version: 1.6.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/33/d4/2ebe9244d5c37e890215bb19b223867a0c6554b31320474bddcbf1dd1b62/annoy-1.6.2.tar.gz#sha256=023daca27d79cd743c844b7c8e0d50a55d5b9cc267355398f94d56330c9eb945 (from https://pypi.org/simple/annoy/), version: 1.6.2 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/f3/1b/d3efe497937e04abb0745dcacff10b2176b669f78439e19a23a005ed9879/annoy-1.7.0.tar.gz#sha256=58a61cb65a0b639702720eecb4216680245bc4a538d7d8ce4b41e1ef8196c923 (from https://pypi.org/simple/annoy/), version: 1.7.0 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/37/ae/cf07549e1593199d4bbd4d99aaf3cd118af7cc4d29f684e652b3f868cece/annoy-1.8.0.tar.gz#sha256=9ac9bd931a4ced34a27c6a8719de3c9a662fe30ea6cfedaa95b3941067b1fe3e (from https://pypi.org/simple/annoy/), version: 1.8.0 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/3a/14/e733caa00f20544d4f3685434073a6911f4712e7316b140537a750cceb37/annoy-1.8.3.tar.gz#sha256=99e7f168a0b37d1aba9fde629e09d5eb427b62665c2cc459983ad2d077ca6e24 (from https://pypi.org/simple/annoy/), version: 1.8.3 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/07/67/5abcaa7cabe74a646e139eeabd475eb3812413f952618df93a3e672bf2c8/annoy-1.9.0.tar.gz#sha256=2c8c4a6008ed015e9adc83ee53242f1d16020b7ed8ac88acbc951ad39c228454 (from https://pypi.org/simple/annoy/), version: 1.9.0 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/ee/00/c7b67fd1850e5f1a8ce010e78f90e051f9cc6239d6c8389ba568e07647fc/annoy-1.9.1.tar.gz#sha256=d885daa538f792eafc1ca80674bf62f510c53b1cd12903cee9fe636d8de0aa42 (from https://pypi.org/simple/annoy/), version: 1.9.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/bd/d1/593d9dcaececf7bbb3e43507c69a1762c3858a536152650404c823ab7044/annoy-1.9.2.tar.gz#sha256=19802bbb4de6ad2d53ce8c90e82c4d61f25ea51ce04ac223289b6073c2f43ea1 (from https://pypi.org/simple/annoy/), version: 1.9.2 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/ca/bf/1aa587617058fb6fcfb30f039d977e830d535cc3f732434a6c71482f0084/annoy-1.9.3.tar.gz#sha256=6b8ac2c190fbbec011eef7163ff58fe2c1273f8efb369ec4d2ae59f46b8ef202 (from https://pypi.org/simple/annoy/), version: 1.9.3 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/f9/05/e8d413f5eb2201cb5398ba67c5434ab58258ffe6a264418df6a387bb17d7/annoy-1.9.4.tar.gz#sha256=3865ecf41778b340268536181f8aa23ff09523cd815c40dcec94334a2606c16e (from https://pypi.org/simple/annoy/), version: 1.9.4 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/3e/71/3ba9782fd36a465771bcba35a6053475ac5b8f8e0eb57f77a4a3299e6e04/annoy-1.9.5.tar.gz#sha256=8dd63b5f6a173a647c2c09df1d3d7a8bc90129fd88168a84f6239116b928738a (from https://pypi.org/simple/annoy/), version: 1.9.5 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/f9/6b/415da727a080c24336fe726623dbe4b10deb60642d3a50072076d4934a5b/annoy-1.10.0.tar.gz#sha256=08c4b2d4c6c686e31a9a1040e7a87d60a20e32e0508d6c3e05c15c36a415cdd8 (from https://pypi.org/simple/annoy/), version: 1.10.0 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/4c/53/3d8d938b7056fc9a175bee21eeaa182e06b5633b36e4d2fb75e09aec35e3/annoy-1.11.1.tar.gz#sha256=f3a05dd62ce94231f9e65021ec29a858ef45f0228bc8e41bbd4b1e280547c087 (from https://pypi.org/simple/annoy/), version: 1.11.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/14/e2/b5b87195af592036f5d13abc0aac3419251b3661b92cf7d199d454b376ac/annoy-1.11.4.tar.gz#sha256=d348e77920d7139d1889cff36865caf4f7ca6e5e96121d82d114809947151d85 (from https://pypi.org/simple/annoy/), version: 1.11.4 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/4b/d9/83ab48fff79f91ee3269f9e96aeca7545fe20ec4cc4898cc57f6e202e08d/annoy-1.11.5.tar.gz#sha256=0b2196905954c3a8f47804f06e078602d66f3925526b13d20e117c52db6241ca (from https://pypi.org/simple/annoy/), version: 1.11.5 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/f1/9a/3db2737d76a66201873dd0a4301df4774ed16127139efa3db313cdbca04b/annoy-1.12.0.tar.gz#sha256=8f2aa56f7971dc1e9e10ee5a846aabe83a13e692e0107e317c101a5674a4ec70 (from https://pypi.org/simple/annoy/), version: 1.12.0 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/7a/9e/dbfa8bad4015b23b1c2e29f1dc6178c3eec4e004a654ea7b38ba618998ec/annoy-1.13.0.tar.gz#sha256=737fe0507df99b70cc80fdd82a782d824191bdd0bfe5fd1ff4c8d2b2f32e238b (from https://pypi.org/simple/annoy/), version: 1.13.0 2019-07-01T04:08:13 Skipping link https://files.pythonhosted.org/packages/06/fe/a4a1e32f74860aa3329f93fc2af4b19389d4e47677623d403f6ae3ce739d/annoy-1.14.0-py3.6-macosx-10.11-x86_64.egg#sha256=8363aac5cd9b8be97602c8087927a3ad8fb0820963c64a2af5bfee1e0dd3c48d (from https://pypi.org/simple/annoy/); unsupported archive format: .egg 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/df/ef/b3c519aeff16b3e87470d95024063187f2340d1ec99a734aa34fd5957d5d/annoy-1.14.0.tar.gz#sha256=abad73eb198fb3089763dd8ce36e26a0339ee8da1b6082ff80c88cae9bf19caa (from https://pypi.org/simple/annoy/), version: 1.14.0 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/b5/28/f8ce7400344090bb5cfa1c9fae3fdb03b9438db082d458686442633d82a3/annoy-1.15.0.tar.gz#sha256=0c490806bc4b6e731af5de90d1d099735d13f93cd7bc2977230967dc242ebf0f (from https://pypi.org/simple/annoy/), version: 1.15.0 2019-07-01T04:08:13 Skipping link https://files.pythonhosted.org/packages/7b/d1/c7f503308cc14d6e892fbd262a672d157c89464a8823acb8ca2509ab3a3d/annoy-1.15.1-py3.6-macosx-10.11-x86_64.egg#sha256=bb7cca775a5c0ca7cee1284c1f6062a51fddf19145ed2620c1c3f2510ea39e7c (from https://pypi.org/simple/annoy/); unsupported archive format: .egg 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/9c/bf/8e3f7051d694afc086184d223e892d0fc18aca1e4147042d0521a6adedb5/annoy-1.15.1.tar.gz#sha256=37ff7cbe21f76fd48479a866e94cff3d288520940d16f20ec8626460ad36b6e7 (from https://pypi.org/simple/annoy/), version: 1.15.1 2019-07-01T04:08:13 Found link https://files.pythonhosted.org/packages/cc/b2/37c2e81952bc2ea7db909b5a698079a432197dc722ac68d61d218878499f/annoy-1.15.2.tar.gz#sha256=75647dca4b56a48fc5de23c8f271d2087b94458ecc720757f637345e919babc4 (from https://pypi.org/simple/annoy/), version: 1.15.2 2019-07-01T04:08:13 Using version 1.1.1 (newest of versions: 1.1.1) 2019-07-01T04:08:13 Created temporary directory: /tmp/pip-unpack-owgr1u60 2019-07-01T04:08:13 Downloading https://files.pythonhosted.org/packages/5a/a4/2829fc2887a7e9f190955166b109932531b31ff6d5b410d06b63f89b901c/annoy-1.1.1.tar.gz (624kB) 2019-07-01T04:08:13 Downloading from URL https://files.pythonhosted.org/packages/5a/a4/2829fc2887a7e9f190955166b109932531b31ff6d5b410d06b63f89b901c/annoy-1.1.1.tar.gz#sha256=5755b01e62b61e47137035888866c76286452b0d1db840feaf837ccb8a8350cb (from https://pypi.org/simple/annoy/) 2019-07-01T04:08:13 Added annoy==1.1.1 from https://files.pythonhosted.org/packages/5a/a4/2829fc2887a7e9f190955166b109932531b31ff6d5b410d06b63f89b901c/annoy-1.1.1.tar.gz#sha256=5755b01e62b61e47137035888866c76286452b0d1db840feaf837ccb8a8350cb to build tracker '/tmp/pip-req-tracker-ekeswt9r' 2019-07-01T04:08:13 Running setup.py (path:/tmp/pip-wheel-ojmtnf00/annoy/setup.py) egg_info for package annoy 2019-07-01T04:08:13 Running command python setup.py egg_info 2019-07-01T04:08:17 running egg_info 2019-07-01T04:08:17 creating pip-egg-info/annoy.egg-info 2019-07-01T04:08:17 writing pip-egg-info/annoy.egg-info/PKG-INFO 2019-07-01T04:08:17 writing dependency_links to pip-egg-info/annoy.egg-info/dependency_links.txt 2019-07-01T04:08:17 writing top-level names to pip-egg-info/annoy.egg-info/top_level.txt 2019-07-01T04:08:17 writing manifest file 'pip-egg-info/annoy.egg-info/SOURCES.txt' 2019-07-01T04:08:17 reading manifest file 'pip-egg-info/annoy.egg-info/SOURCES.txt' 2019-07-01T04:08:17 reading manifest template 'MANIFEST.in' 2019-07-01T04:08:17 writing manifest file 'pip-egg-info/annoy.egg-info/SOURCES.txt' 2019-07-01T04:08:18 Source in /tmp/pip-wheel-ojmtnf00/annoy has version 1.1.1, which satisfies requirement annoy==1.1.1 from https://files.pythonhosted.org/packages/5a/a4/2829fc2887a7e9f190955166b109932531b31ff6d5b410d06b63f89b901c/annoy-1.1.1.tar.gz#sha256=5755b01e62b61e47137035888866c76286452b0d1db840feaf837ccb8a8350cb 2019-07-01T04:08:18 Removed annoy==1.1.1 from https://files.pythonhosted.org/packages/5a/a4/2829fc2887a7e9f190955166b109932531b31ff6d5b410d06b63f89b901c/annoy-1.1.1.tar.gz#sha256=5755b01e62b61e47137035888866c76286452b0d1db840feaf837ccb8a8350cb from build tracker '/tmp/pip-req-tracker-ekeswt9r' 2019-07-01T04:08:18 Building wheels for collected packages: annoy 2019-07-01T04:08:18 Created temporary directory: /tmp/pip-wheel-2w23q_io 2019-07-01T04:08:18 Building wheel for annoy (setup.py): started 2019-07-01T04:08:18 Destination directory: /tmp/pip-wheel-2w23q_io 2019-07-01T04:08:18 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-ojmtnf00/annoy/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-2w23q_io 2019-07-01T04:08:21 running bdist_wheel 2019-07-01T04:08:21 running build 2019-07-01T04:08:21 running build_py 2019-07-01T04:08:21 creating build 2019-07-01T04:08:21 creating build/lib.linux-armv7l-3.7 2019-07-01T04:08:21 creating build/lib.linux-armv7l-3.7/annoy 2019-07-01T04:08:21 copying annoy/__init__.py -> build/lib.linux-armv7l-3.7/annoy 2019-07-01T04:08:21 running build_ext 2019-07-01T04:08:21 building 'annoy.annoylib' extension 2019-07-01T04:08:21 creating build/temp.linux-armv7l-3.7 2019-07-01T04:08:21 creating build/temp.linux-armv7l-3.7/src 2019-07-01T04:08:21 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c src/annoymodule.cc -o build/temp.linux-armv7l-3.7/src/annoymodule.o 2019-07-01T04:08:23 src/annoymodule.cc: In function ‘void py_an_dealloc(py_annoy*)’: 2019-07-01T04:08:23 src/annoymodule.cc:146:9: error: ‘struct py_annoy’ has no member named ‘ob_type’; did you mean ‘ob_base’? 2019-07-01T04:08:23 self->ob_type->tp_free((PyObject*)self); 2019-07-01T04:08:23 ^~~~~~~ 2019-07-01T04:08:23 ob_base 2019-07-01T04:08:23 src/annoymodule.cc: In function ‘PyObject* py_an_load(py_annoy*, PyObject*)’: 2019-07-01T04:08:23 src/annoymodule.cc:182:10: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 src/annoymodule.cc:182:10: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 PyLong_FromLong 2019-07-01T04:08:23 src/annoymodule.cc: In function ‘PyObject* py_an_save(py_annoy*, PyObject*)’: 2019-07-01T04:08:23 src/annoymodule.cc:209:10: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 src/annoymodule.cc:209:10: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 PyLong_FromLong 2019-07-01T04:08:23 src/annoymodule.cc: In function ‘PyObject* py_an_add_item(py_annoy*, PyObject*)’: 2019-07-01T04:08:23 src/annoymodule.cc:310:10: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 src/annoymodule.cc:310:10: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 PyLong_FromLong 2019-07-01T04:08:23 src/annoymodule.cc: In function ‘PyObject* py_an_build(py_annoy*, PyObject*)’: 2019-07-01T04:08:23 src/annoymodule.cc:332:10: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 src/annoymodule.cc:332:10: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 PyLong_FromLong 2019-07-01T04:08:23 src/annoymodule.cc: In function ‘PyObject* py_an_unload(py_annoy*, PyObject*)’: 2019-07-01T04:08:23 src/annoymodule.cc:351:10: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 src/annoymodule.cc:351:10: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 PyLong_FromLong 2019-07-01T04:08:23 src/annoymodule.cc: In function ‘PyObject* py_an_get_n_items(py_annoy*, PyObject*)’: 2019-07-01T04:08:23 src/annoymodule.cc:397:20: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:23 if (is_n) return PyInt_FromLong(n); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 src/annoymodule.cc:397:20: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:23 if (is_n) return PyInt_FromLong(n); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:23 PyLong_FromLong 2019-07-01T04:08:23 src/annoymodule.cc: In function ‘PyObject* py_an_verbose(py_annoy*, PyObject*)’: 2019-07-01T04:08:23 src/annoymodule.cc:420:10: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:23 return PyInt_FromLong(0); 2019-07-01T04:08:23 ^~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:420:10: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:24 return PyInt_FromLong(0); 2019-07-01T04:08:24 ^~~~~~~~~~~~~~ 2019-07-01T04:08:24 PyLong_FromLong 2019-07-01T04:08:24 src/annoymodule.cc: At global scope: 2019-07-01T04:08:24 src/annoymodule.cc:480:1: error: invalid conversion from ‘const char*’ to ‘Py_ssize_t’ {aka ‘int’} [-fpermissive] 2019-07-01T04:08:24 }; 2019-07-01T04:08:24 ^ 2019-07-01T04:08:24 src/annoymodule.cc:446:3: error: invalid conversion from ‘destructor’ {aka ‘void (*)(_object*)’} to ‘printfunc’ {aka ‘int (*)(_object*, _IO_FILE*, int)’} [-fpermissive] 2019-07-01T04:08:24 (destructor)py_an_dealloc, /*tp_dealloc*/ 2019-07-01T04:08:24 ^~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:461:22: error: invalid conversion from ‘long unsigned int’ to ‘const char*’ [-fpermissive] 2019-07-01T04:08:24 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/ 2019-07-01T04:08:24 src/annoymodule.cc:480:1: error: cannot convert ‘const char*’ to ‘traverseproc’ {aka ‘int (*)(_object*, int (*)(_object*, void*), void*)’} in initialization 2019-07-01T04:08:24 }; 2019-07-01T04:08:24 ^ 2019-07-01T04:08:24 src/annoymodule.cc:480:1: error: cannot convert ‘PyMethodDef*’ to ‘PyMemberDef*’ in initialization 2019-07-01T04:08:24 src/annoymodule.cc:480:1: error: cannot convert ‘PyMemberDef*’ to ‘PyGetSetDef*’ in initialization 2019-07-01T04:08:24 src/annoymodule.cc:477:3: error: invalid conversion from ‘initproc’ {aka ‘int (*)(_object*, _object*, _object*)’} to ‘allocfunc’ {aka ‘_object* (*)(_typeobject*, int)’} [-fpermissive] 2019-07-01T04:08:24 (initproc)py_an_init, /* tp_init */ 2019-07-01T04:08:24 ^~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:480:1: error: invalid conversion from ‘PyObject* (*)(PyTypeObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_typeobject*, _object*, _object*)’} to ‘freefunc’ {aka ‘void (*)(void*)’} [-fpermissive] 2019-07-01T04:08:24 }; 2019-07-01T04:08:24 ^ 2019-07-01T04:08:24 src/annoymodule.cc: In function ‘PyObject* initannoylib()’: 2019-07-01T04:08:24 src/annoymodule.cc:490:5: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2019-07-01T04:08:24 return; 2019-07-01T04:08:24 ^~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:492:7: error: ‘Py_InitModule’ was not declared in this scope 2019-07-01T04:08:24 m = Py_InitModule("annoylib", module_methods); 2019-07-01T04:08:24 ^~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:492:7: note: suggested alternative: ‘Py_Initialize’ 2019-07-01T04:08:24 m = Py_InitModule("annoylib", module_methods); 2019-07-01T04:08:24 ^~~~~~~~~~~~~ 2019-07-01T04:08:24 Py_Initialize 2019-07-01T04:08:24 src/annoymodule.cc:494:5: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2019-07-01T04:08:24 return; 2019-07-01T04:08:24 ^~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:497:5: error: return-statement with no value, in function returning ‘PyObject*’ {aka ‘_object*’} [-fpermissive] 2019-07-01T04:08:24 return; 2019-07-01T04:08:24 ^~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc: In instantiation of ‘PyObject* AnnoyIndexPython::get_nns_by_item_py(S, size_t) [with S = int; T = float; Distance = Angular; PyObject = _object; size_t = unsigned int]’: 2019-07-01T04:08:24 src/annoymodule.cc:225:47: required from here 2019-07-01T04:08:24 src/annoymodule.cc:37:38: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(result[i])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:37:38: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(result[i])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~~~~~~ 2019-07-01T04:08:24 PyLong_FromLong 2019-07-01T04:08:24 src/annoymodule.cc: In instantiation of ‘PyObject* AnnoyIndexPython::get_nns_by_item_py(S, size_t) [with S = int; T = float; Distance = Euclidean; PyObject = _object; size_t = unsigned int]’: 2019-07-01T04:08:24 src/annoymodule.cc:229:47: required from here 2019-07-01T04:08:24 src/annoymodule.cc:37:38: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:24 src/annoymodule.cc:37:38: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(result[i])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~~~~~~ 2019-07-01T04:08:24 PyLong_FromLong 2019-07-01T04:08:24 src/annoymodule.cc: In instantiation of ‘PyObject* AnnoyIndexPython::get_nns_by_vector_py(PyObject*, size_t) [with S = int; T = float; Distance = Angular; PyObject = _object; size_t = unsigned int]’: 2019-07-01T04:08:24 src/annoymodule.cc:249:46: required from here 2019-07-01T04:08:24 src/annoymodule.cc:52:38: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(result[i])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:52:38: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(result[i])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~~~~~~ 2019-07-01T04:08:24 PyLong_FromLong 2019-07-01T04:08:24 src/annoymodule.cc: In instantiation of ‘PyObject* AnnoyIndexPython::get_nns_by_vector_py(PyObject*, size_t) [with S = int; T = float; Distance = Euclidean; PyObject = _object; size_t = unsigned int]’: 2019-07-01T04:08:24 src/annoymodule.cc:253:46: required from here 2019-07-01T04:08:24 src/annoymodule.cc:52:38: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:24 src/annoymodule.cc:52:38: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(result[i])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~~~~~~ 2019-07-01T04:08:24 PyLong_FromLong 2019-07-01T04:08:24 src/annoymodule.cc: In instantiation of ‘PyObject* AnnoyIndexPython::get_item_vector_py(S) [with S = int; T = float; Distance = Angular; PyObject = _object]’: 2019-07-01T04:08:24 src/annoymodule.cc:272:36: required from here 2019-07-01T04:08:24 src/annoymodule.cc:62:38: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(v[z])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:62:38: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(v[z])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~ 2019-07-01T04:08:24 PyLong_FromLong 2019-07-01T04:08:24 src/annoymodule.cc: In instantiation of ‘PyObject* AnnoyIndexPython::get_item_vector_py(S) [with S = int; T = float; Distance = Euclidean; PyObject = _object]’: 2019-07-01T04:08:24 src/annoymodule.cc:276:36: required from here 2019-07-01T04:08:24 src/annoymodule.cc:62:38: error: ‘PyInt_FromLong’ was not declared in this scope 2019-07-01T04:08:24 src/annoymodule.cc:62:38: note: suggested alternative: ‘PyLong_FromLong’ 2019-07-01T04:08:24 PyList_Append(l, PyInt_FromLong(v[z])); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~^~~~~~ 2019-07-01T04:08:24 PyLong_FromLong 2019-07-01T04:08:24 In file included from src/annoymodule.cc:15: 2019-07-01T04:08:24 src/annoylib.h: In instantiation of ‘bool AnnoyIndex::load(const char*) [with S = int; T = float; Distance = Angular]’: 2019-07-01T04:08:24 src/annoymodule.cc:72:31: required from ‘bool AnnoyIndexPython::load_py(const char*) [with S = int; T = float; Distance = Angular]’ 2019-07-01T04:08:24 src/annoymodule.cc:171:31: required from here 2019-07-01T04:08:24 src/annoylib.h:368:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector >::size_type’ {aka ‘unsigned int’} [-Wformat=] 2019-07-01T04:08:24 src/annoylib.h:44:29: 2019-07-01T04:08:24 #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } 2019-07-01T04:08:24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h:368:30: 2019-07-01T04:08:24 if (_verbose) showUpdate("found %lu roots with degree %d\n", _roots.size(), m); 2019-07-01T04:08:24 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h:44:45: note: in definition of macro ‘showUpdate’ 2019-07-01T04:08:24 #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } 2019-07-01T04:08:24 ^~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h: In instantiation of ‘bool AnnoyIndex::load(const char*) [with S = int; T = float; Distance = Euclidean]’: 2019-07-01T04:08:24 src/annoymodule.cc:72:31: required from ‘bool AnnoyIndexPython::load_py(const char*) [with S = int; T = float; Distance = Euclidean]’ 2019-07-01T04:08:24 src/annoymodule.cc:175:31: required from here 2019-07-01T04:08:24 src/annoylib.h:368:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector >::size_type’ {aka ‘unsigned int’} [-Wformat=] 2019-07-01T04:08:24 src/annoylib.h:44:29: 2019-07-01T04:08:24 #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } 2019-07-01T04:08:24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h:368:30: 2019-07-01T04:08:24 if (_verbose) showUpdate("found %lu roots with degree %d\n", _roots.size(), m); 2019-07-01T04:08:24 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h:44:45: note: in definition of macro ‘showUpdate’ 2019-07-01T04:08:24 #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } 2019-07-01T04:08:24 ^~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h: In instantiation of ‘S AnnoyIndex::_make_tree(const std::vector<_Tp>&) [with S = int; T = float; Distance = Angular]’: 2019-07-01T04:08:24 src/annoylib.h:294:24: required from ‘void AnnoyIndex::build(int) [with S = int; T = float; Distance = Angular]’ 2019-07-01T04:08:24 src/annoymodule.cc:325:16: required from here 2019-07-01T04:08:24 src/annoylib.h:468:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector >::size_type’ {aka ‘unsigned int’} [-Wformat=] 2019-07-01T04:08:24 src/annoylib.h:44:29: 2019-07-01T04:08:24 #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } 2019-07-01T04:08:24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h:468:20: 2019-07-01T04:08:24 showUpdate("Failed splitting %lu items\n", indices.size()); 2019-07-01T04:08:24 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h:44:45: note: in definition of macro ‘showUpdate’ 2019-07-01T04:08:24 #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } 2019-07-01T04:08:24 ^~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h: In instantiation of ‘S AnnoyIndex::_make_tree(const std::vector<_Tp>&) [with S = int; T = float; Distance = Euclidean]’: 2019-07-01T04:08:24 src/annoylib.h:294:24: required from ‘void AnnoyIndex::build(int) [with S = int; T = float; Distance = Euclidean]’ 2019-07-01T04:08:24 src/annoymodule.cc:329:16: required from here 2019-07-01T04:08:24 src/annoylib.h:468:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector >::size_type’ {aka ‘unsigned int’} [-Wformat=] 2019-07-01T04:08:24 src/annoylib.h:44:29: 2019-07-01T04:08:24 #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } 2019-07-01T04:08:24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h:468:20: 2019-07-01T04:08:24 showUpdate("Failed splitting %lu items\n", indices.size()); 2019-07-01T04:08:24 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 src/annoylib.h:44:45: note: in definition of macro ‘showUpdate’ 2019-07-01T04:08:24 #define showUpdate(...) { fprintf(stderr, __VA_ARGS__ ); } 2019-07-01T04:08:24 ^~~~~~~~~~~ 2019-07-01T04:08:24 src/annoymodule.cc:500:21: warning: control reaches end of non-void function [-Wreturn-type] 2019-07-01T04:08:24 PyModule_AddObject(m, "Annoy", (PyObject *)&PyAnnoyType); 2019-07-01T04:08:24 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-01T04:08:24 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-07-01T04:08:24 Building wheel for annoy (setup.py): finished with status 'error' 2019-07-01T04:08:24 ERROR: Failed building wheel for annoy 2019-07-01T04:08:24 Running setup.py clean for annoy 2019-07-01T04:08:24 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-ojmtnf00/annoy/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-01T04:08:27 running clean 2019-07-01T04:08:27 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-01T04:08:27 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-07-01T04:08:27 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-01T04:08:27 'build/scripts-3.7' does not exist -- can't clean it 2019-07-01T04:08:27 removing 'build' 2019-07-01T04:08:27 Failed to build annoy 2019-07-01T04:08:27 Cleaning up... 2019-07-01T04:08:27 Removing source in /tmp/pip-wheel-ojmtnf00/annoy 2019-07-01T04:08:27 Removed build tracker '/tmp/pip-req-tracker-ekeswt9r' 2019-07-01T04:08:27 ERROR: Failed to build one or more wheels 2019-07-01T04:08:27 Exception information: 2019-07-01T04:08:27 Traceback (most recent call last): 2019-07-01T04:08:27 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-01T04:08:27 status = self.run(options, args) 2019-07-01T04:08:27 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-01T04:08:27 "Failed to build one or more wheels" 2019-07-01T04:08:27 pip._internal.exceptions.CommandError: Failed to build one or more wheels