我没有使用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,因为它看起来是一个很酷的工具。
发布于 2018-11-28 19:36:25
sudo pip install kivy假设您已经安装了pip和其他依赖项,比如mesalib-devel
https://stackoverflow.com/questions/45711322
复制相似问题