首页 > 解决方案 > 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._
              `"""

欢迎任何事情。

标签: androidkivyarm64termux

解决方案


推荐阅读