如何在Solus发行版上安装Kivy?

2024-06-16 09:55:25 发布

您现在位置:Python中文网/ 问答频道 /正文

我没有使用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,因为它看起来是一个非常酷的工具。在


Tags: pipbuildlinux错误指南codeerrorrecord