kivy库的安装
qpython吧
全部回复
仅看楼主
level 3
吹檬H 楼主
我想安装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
-->
2015年10月28日 09点10分 1
level 7
qpython3 目前不支持kivy
除了官方预先编译好的(安装默认有,及qpypi中能够直接安装的) 目前无法正常支持 pip安装 有需要编译的c/c++等文件(或者其依赖的包中含有) 在内的python 包。
2015年12月09日 08点12分 2
level 2
numpy 也报这样的错误,怎么安装
2016年07月07日 00点07分 3
level 7
qpython3其实与2有很多不同,而且也还没有大量的库可供下载,所以还是用2好一点,他3的库还在努力编写呢
2016年07月24日 17点07分 5
1