如何处理Python中的Kivy安装错误? [英] How to deal with Kivy installing error in Python?

查看:967
本文介绍了如何处理Python中的Kivy安装错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从Kivy用Python安装了所有必需的代码,但是我需要的最后一个是 python -m pip install kivy ,这给我一个错误:

I have installed every necessary code in Python from Kivy, but the last one I need which one is python -m pip install kivy gets me an error like this:

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
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我使用Windows 10,请帮忙!

I use windows 10, please help!

推荐答案

这对我有用:

matham 15天前评论 我们不太可能将3.8的1.11.1版本发布到pypi.但是,您可以使用以下命令安装kivy master:

matham commented 15 days ago We are not likely to release a 1.11.1 version for 3.8 to pypi. However, you can install kivy master using:

pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/

这篇关于如何处理Python中的Kivy安装错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆