我没有使用 Ubuntu(我在 Solus 上),所以我不能做 PPA。我已经按照我能找到的所有安装指南进行手动安装,但似乎没有一个有效。
我得到错误:
x86_64-solus-linux-gcc: error trying to exec 'as': execvp: No such file or directory
/tmp/pip-build-utw792cs/kivy/kivy/graphics/scissor_instructions.c:4:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-solus-linux-gcc' failed with exit status 1
\----------------------------------------
Command "/usr/bin/python3.5 -u -c "import setuptools, tokenize;\__file__='/tmp/pip-build-utw792cs/kivy/setup.py';f=getattr(tokenize, 'open', open)(\__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, \__file__, 'exec'))" install --record /tmp/pip-rvj0_9sh-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-utw792cs/kivy/
我四处寻找安装指南,但在某些时候它们都以相同的错误结束。有谁知道如何安装 Kivy,因为它看起来是一个非常酷的工具。