web-dev-qa-db-fra.com

Comment gérer l'erreur d'installation de Kivy en Python?

J'ai installé tous les codes nécessaires dans Python de Kivy, mais le dernier dont j'ai besoin, c'est python -m pip install kivy m'obtient une erreur comme celle-ci:

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.

J'utilise Windows 10, aidez-moi!

2
Atis

Cela a fonctionné pour moi:

matham a commenté il y a 15 jours Nous ne sommes pas susceptibles de publier une version 1.11.1 pour 3.8 vers pypi. Cependant, vous pouvez installer kivy master en utilisant:

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