android - Andronix-Android-Termux-arm64-kivy-debian10
问题描述
我尝试使用 Andronix 应用程序在 Termux 上的 Debian 10 arm64 上安装 kivy,但没有一个对我有用,然后你在 GitHub 上找到了一个用于 arm64(树莓派)的预构建轮并安装它,因为它说我将在下面链接该存储库。 我运行了命令
sudo apt-get install libgstreamer1.0-dev libmtdev1
和
git clone https://github.com/Lauszus/rpi-kivy-wheel.git
pip3 install --find-links=rpi-kivy-wheel/kivy-1.11.1 kivy==1.11.1
我得到的错误是
pip3 install --find-links=rpi-kivy-wheel/kivy-1.11.1 kivy==1.11.1 Looking in links: rpi-kivy-wheel/kivy-1.11.1 Collecting kivy==1.11.1 Using cached https://files.pythonhosted.org/packages/1b/4d/3f8a720f561dc1eabe036c0d87c6ce9d02823275391265538e606f45e37a/Kivy-1.11.1.tar.gz Complete output from command python setup.py egg_info: fatal: not a git repository (or any of the parent directories): .git Failed building wheel for cython ERROR: Failed to build one or more wheels Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/setuptools/installer.py", line 75, in fetch_build_egg subprocess.check_call(cmd) File "/usr/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpea9lhwin', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.zip', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero exit status 1. The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-yd6munmy/kivy/setup.py", line 1206, in <module>
'tuio': ['oscpy']
File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 152, in setup
_install_setup_requires(attrs)
File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/local/lib/python3.7/dist-packages/setuptools/dist.py", line 809, in fetch_build_eggs
replace_conflicting=True,
File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 768, in resolve
replace_conflicting=replace_conflicting
File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 1051, in best_match
return self.obtain(req, installer)
File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 1063, in obtain
return installer(requirement)
File "/usr/local/lib/python3.7/dist-packages/setuptools/dist.py", line 877, in fetch_build_egg
return fetch_build_egg(self, req)
File "/usr/local/lib/python3.7/dist-packages/setuptools/installer.py", line 77, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpea9lhwin', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.zip', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero exit status 1.
Using setuptools
Using this graphics system: OpenGL
GStreamer found via pkg-config
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\nPackage SDL2_ttf was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_ttf.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_ttf' found\nPackage SDL2_image was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_image.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_image' found\nPackage SDL2_mixer was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_mixer.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_mixer' found\n"
WARNING: A problem occurred while running pkg-config --libs --cflags pangoft2 (code 1)
b"Package pangoft2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `pangoft2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'pangoft2' found\n"
ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-yd6munmy/kivy/
如果需要我的机器信息:
_,met$$$$$gg. root@localhost
,g$$$$$$$$$$$$$$$P. --------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 10 (buster) aarch64
,$$P' `$$$. Kernel: 4.4.147+
',$$P ,ggs. `$$b: Uptime: secs
`d$$' ,$P"' . $$$ Packages: 545 (dpkg)
$$P d$' , $$P Shell: bash 5.0.3
$$: $$. - ,d$$' Theme: Adwaita [GTK3]
$$; Y$b._ _,d$P' Icons: Adwaita [GTK3]
Y$$. `.`"Y$$$$P"' Terminal: proot
`$$b "-.__ CPU: (8)
`Y$$ Memory: 930MiB / 1819MiB
`Y$$.
`$$b.
`Y$$b.
`"Y$b._
`"""
欢迎任何事情。
解决方案
推荐阅读
- python - Python-循环遍历Excel文件以自动提取每个工作表名称及其数据,然后将数据导出到同一输出文件中自己的工作表
- python - Python/OpenCV - 如何保持对象在视频中移动的标签以及如何获取它们之间的距离
- angular - 使用 postcss-scss 解析器重试 scss angular 12 错误
- unit-testing - XUnit 将附件保存到 TRX 记录器文件
- java - 通过传递取自用户输入的 sql 语句从 java 调用 oracle 过程
- delay - 为什么 Mininet 不丢弃任何数据包?
- json - 自适应卡片 - actionSet JSON 转义 URL 参数
- java - 此数据类型不允许获取自定义约束 (Hibernate-validator 6.0.22.Final)
- javascript - Bridge.NET / Retyped:绑定可以更新吗?
- typescript - 使用 jest 创建模拟对象