qpython-android / qpython

QPython is an Android Python engine primarily designed for Python and AI learners. It offers a range of impressive features to enhance Python programming experience.
https://www.qpython.org
1.03k stars 191 forks source link

Pip install gmpy2 error #171

Open seoqs opened 5 years ago

seoqs commented 5 years ago

Hello, pls help me. /data/user/0/org.qpython.qpy/files/bin/qpython-android5.sh "/data/user/0/org.qpython.qpy/files/bin/qpypi.py" && exit qpy/files/bin/qpypi.py" && exit < Input pip commands, ie: pip install {module} OR pip help -->pip install gmpy2 Collecting gmpy2 Using cached https://files.pythonhosted.org/packages/90/f4/9a2e384b325b69bc5827b9a6510a8fb4a51698c915c06a3f25a86458892a/gmpy2-2.0.8.zip Installing collected packages: gmpy2 Running setup.py install for gmpy2 ...error Complete output from command /data/user/0/org.qpython.qpy/files/bin/python-android5 -u -c "import setuptools, tokenize;file='/storage/emulated/0/qpython/cache/pip-build-1_ux1v/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /storage/emulated/0/qpython/cache/pip-M68VXP-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'gmpy2' extension creating build creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/src /home/QPY/android-ndk-r17/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-strict-aliasing -femulated-tls -target arm-linux-androideabi -marm -mfpu=vfp -mfloat-abi=softfp --sysroot /home/QPY/android-ndk-r17/platforms/android-21/arch-arm -gcc-toolchain /home/QPY/android-ndk-r17/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/ -I/home/QPY/android-ndk-r17/sysroot/usr/include -I/home/QPY/android-ndk-r17/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=21 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITHMPFR -DWITHMPC -I/data/user/0/org.qpython.qpy/files/include/python2.7 -c src/gmpy2.c -o build/temp.linux-armv7l-2.7/src/gmpy2.o unable to execute '/home/QPY/android-ndk-r17/toolchains/llvm/prebuilt/linux-x86_64/bin/clang': No such file or directory error: command '/home/QPY/android-ndk-r17/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1

----------------------------------------

Command "/data/user/0/org.qpython.qpy/files/bin/python-android5 -u -c "import setuptools, tokenize;file='/storage/emulated/0/qpython/cache/pip-build-1_ux1v/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /storage/emulated/0/qpython/cache/pip-M68VXP-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /storage/emulated/0/qpython/cache/pip-build-1_ux1v/gmpy2/ -->

linzhi commented 5 years ago

I have the same problem

vkhobor commented 4 years ago

Same error here with another package.

heyinchuan commented 4 years ago

Same error when I run 'pip3 install pyOpenSSL' on qpython3.

ChrisYeGX commented 4 years ago

same error