gpt4 book ai didi

python - 安装 Kivy 时出现多个错误

转载 作者:行者123 更新时间:2023-12-02 05:45:34 25 4
gpt4 key购买 nike

错误:命令出错,退出状态为 1:错误:需要 Microsoft Visual C++ 14.0。使用“Visual Studio 构建工具”获取它:https://visualstudio.microsoft.com/downloads/ ---------------------------------------------------- 错误:为 cython 构建轮子失败 错误:无法构建一个或多个轮子

警告:运行 pkg-config --libs --cflags gstreamer-1.0(代码 1)时出现问题

b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"

WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)

b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"

WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)

b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"

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
----------------------------------------

错误:命令出错,退出状态为 1:python setup.py Egg_info 检查日志以获取完整的命令输出。

我完美地遵循了所有步骤,我尝试以管理员身份运行并运行虚拟环境。我完全迷失了。

最佳答案

如果您转到 Kivy 下载页面,您将看到受支持的版本Kivy 的 Python 是 2.7 和 3.5 到 3.7,所以 Kivy 还不支持 Python 3.8。切换到 3.7 是唯一的选择。

pic

关于python - 安装 Kivy 时出现多个错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59295968/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com