Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named numpy #3460

Closed
dymsokei opened this issue Aug 10, 2016 · 0 comments
Closed

ImportError: No module named numpy #3460

dymsokei opened this issue Aug 10, 2016 · 0 comments

Comments

@dymsokei
Copy link

dymsokei commented Aug 10, 2016

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

screenshot_2016-08-10-19-42-38

screenshot_2016-08-10-19-42-45

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: termux/termux-packages#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: 2b31f93
Python Version: Python 2.7.12

Is there anyways to install this bot by change NumPy with another module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants