[英]How to install Kivy on Solus distro?
I'm not using Ubuntu (I'm on Solus), so I can't do the PPA. 我没有使用Ubuntu(我在Solus上),所以无法执行PPA。 I've followed all the install guides I can find for manual installation but none seem to be working.
我已遵循所有可以找到的用于手动安装的安装指南,但似乎都没有用。
I get the error: 我得到错误:
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/
I've searched around for install guides but they all end with the same error at some point. 我到处搜索安装指南,但它们在某些时候都以相同的错误结尾。 Does anyone know how to install Kivy because it seems like a really cool tool.
有谁知道如何安装Kivy,因为它看起来像是一个很酷的工具。
sudo pip install kivy
假设您已经安装了pip
和其他依赖项,例如mesalib-devel
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.