使用 pip 安装 kivy 时出错 - Python

Luc*_*cho 5 python pip failed-installation kivy

我正在尝试使用 pip 安装 kivy,但出现错误:

c:\***\temp\pip-build-7e9b8p\kivy\kivy\graphics\gl_redirect.h(8) : fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory
     error: command 'C:\\***\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
Run Code Online (Sandbox Code Playgroud)

有什么建议吗?

cem*_*cem 3

您需要为 Windows 安装 libglew 二进制文件:

http://glew.sourceforge.net/index.html