問題描述
錯誤:命令出錯,退出狀態為 1:錯誤:需要 Microsoft Visual C++ 14.0.使用Visual Studio 構建工具"獲取它:https://visualstudio.microsoft.com/downloads/一個>--------------------------------------錯誤:cython 構建輪子失敗錯誤:無法構建一個或多個輪子
ERROR: Command errored out with exit status 1: error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Failed building wheel for cython ERROR: Failed to build one or more wheels
警告:運行 pkg-config --libs --cflags gstreamer-1.0(代碼 1)時出現問題
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,
operable program or batch file.
"
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,
operable program or batch file.
"
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,
operable program or batch file.
"
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 檢查日志以獲取完整的命令輸出.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
我完美地遵循了所有步驟,我嘗試以管理員身份運行并運行虛擬環境.我完全迷路了.
I followed all the step perfectly, I tried running as administrator and running a virtual environment. I'm completely lost.
推薦答案
如果你去 Kivy 下載頁面你會看到支持的版本Kivy 的 Python 是 2.7 和 3.5 到 3.7,所以 Kivy 還不支持 Python 3.8.切換到 3.7 是唯一的選擇.
If you go to Kivy downloads page you will see the supported versions of Python from Kivy is 2.7 and 3.5 to 3.7, so Kivy doesn't support Python 3.8 yet. Switching to 3.7 is the only option.
這篇關于安裝 Kivy 時出現多個錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!