该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
我想安装kivy库,在qpython3中的pip控制台输入pip install kivy下载完提示没有Cython,再次pip install cython又出错,全部出错信息如下,怎样才能正常安装呢?我就是想试试kivy最简单的例子程序也这么复杂?
cripts3/pip_console.py && exit <
Input pip commands, ie: pip install {module}
-->pip install cython
Downloading/unpacking cython
Running setup.py egg_info for package cython
Unable to find pgen, not compiling formal grammar.
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
Installing collected packages: cython
Running setup.py install for cython
Unable to find pgen, not compiling formal grammar.
warning: build_py_2to3: byte-compiling is disabled, skipping.
skipping '/storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython/Cython/Plex/Scanners.c' Cython extension (up-to-date)
building 'Cython.Plex.Scanners' extension
arm-linux-androideabi-gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/data/data/com.hipipal.qpy3/files/include/python3.2m -c /storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython/Cython/Plex/Scanners.c -o build/temp.linux-armv7l-3.2/storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython/Cython/Plex/Scanners.o
error: command 'arm-linux-androideabi-gcc' failed with exit status 1
Complete output from command /data/data/com.hipipal.qpy3/files/bin/python -c "import setuptools;__file__='/storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /storage/emulated/0/com.hipipal.qpyplus/cache/pip-ua36qc-record/install-record.txt --single-version-externally-managed:
Unable to find pgen, not compiling formal grammar.
running install
running build
running build_py
warning: build_py_2to3: byte-compiling is disabled, skipping.
running build_ext
skipping '/storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython/Cython/Plex/Scanners.c' Cython extension (up-to-date)
building 'Cython.Plex.Scanners' extension
arm-linux-androideabi-gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/data/data/com.hipipal.qpy3/files/include/python3.2m -c /storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython/Cython/Plex/Scanners.c -o build/temp.linux-armv7l-3.2/storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython/Cython/Plex/Scanners.o
error: command 'arm-linux-androideabi-gcc' failed with exit status 1
----------------------------------------
Command /data/data/com.hipipal.qpy3/files/bin/python -c "import setuptools;__file__='/storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /storage/emulated/0/com.hipipal.qpyplus/cache/pip-ua36qc-record/install-record.txt --single-version-externally-managed failed with error code 1 in /storage/emulated/0/com.hipipal.qpyplus/cache/pip-build/cython
Storing complete log in /sdcard/com.hipipal.qpyplus/.pip/pip.log
-->