PokemonGo-Bot
PokemonGo-Bot copied to clipboard
ImportError: No module named numpy
Expected Behavior
Bot installed and run
Actual Behavior
Been following installation procedure (Git files have downloaded).
$ cd PokemonGo-Bot
$ virtualenv .
$ source bin/activate
(PokemonGo-Bot) $ git pull
(PokemonGo-Bot) $ pip install -r requirements.txt
And I've got this


And this...
i686-linux-android-ar: adding 4 object files to build/temp.linux-i686-2.7/libnpymath.a
sh: i686-linux-android-ar: not found
sh: i686-linux-android-ar: not found error: Command "i686-linux-android-ar rc build/temp.linux-i686-2.7/libnpymath.a build/temp.linux-i686-2.7/build/src.linux-i686-2.7/numpy/core/src/npymath/npy_math.o build/temp.linux-i686-2.7/build/src.linux-i686-2.7/numpy/core/src/npymath/ieee754.o build/temp.linux-i686-2.7/build/src.linux-i686-2.7/numpy/core/src/npymath/npy_math_complex.o build/temp.linux-i686-2.7/numpy/core/src/npymath/halffloat.o" failed with exit status 127
---------------------------------------- Command "/data/data/com.termux/files/home/PokemonGo-Bot/bin/python2 -u -c "import setuptools, tokenize;__file__='/data/data/com.termux/files/usr/tmp/pip-build-EP_Fi1/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-S65Fvn-record/install-record.txt --single-version-externally-managed --compile --install-headers /data/data/com.termux/files/home/PokemonGo-Bot/include/site/python2.7/numpy" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-build-EP_Fi1/numpy/
I tried to find out why, but it seems my Termux can not installed NumPy module.
(PokemonGo-Bot) $ pip list
colorama (0.3.7)
decorator (4.0.10)
future (0.15.2)
geopy (1.11.0)
gpsoauth (0.3.0)
networkx (1.11)
pgoapi (1.1.6)
pip (8.1.2)
protobuf (3.0.0)
pycryptodomex (3.4.2)
requests (2.10.0)
s2sphere (0.2.4)
setuptools (25.1.6)
six (1.10.0)
virtualenv (15.0.3)
wheel (0.29.0)
xxhash (0.6.1)
Been installed gcc, and python-dev
Steps to Reproduce
It seems it related to this issue: https://github.com/termux/termux-packages/issues/136
I've been using pip install --upgrade --force-reinstall numpy but it doesn't works.
Other Information
OS: Termux that running on Android 5.01, Asus Zenfone 2 Z00D Git Commit: 2b31f93d2293e35f7cdb90b359707b5e62f4d897 Python Version: Python 2.7.12
Is there anyways to install this bot by change NumPy with another module?