【发布时间】:2020-03-26 06:11:31
【问题描述】:
我已经从 Kivy 在 Python 中安装了所有必要的代码,但是我需要的最后一个代码是 python -m pip install kivy 让我收到如下错误:
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,请帮忙!
【问题讨论】:
-
你用的是什么python版本?
-
3.8.0,几秒钟前刚刚检查过!
-
尝试改用 3.7。
-
它工作,在 3.7 上安装,但现在我有另一个错误。虽然它已安装,但它告诉我它不存在。我有这个错误:'kivy' 不被识别为内部或外部命令、可运行程序或批处理文件。你知道在这里做什么吗?
-
听起来您正试图将
kivy作为命令行命令运行,但这不是您可以做的事情,Kivy 是您必须在 Python 中导入的 Python 模块。如果这不能解释您的问题,请提供有关您正在尝试的内容的更多信息。
标签: python python-3.x windows-10 kivy python-3.8