使用 pip 安装 kivy 时出错 - Python

Error installing kivy with pip - Python

我正在尝试使用 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

有什么建议吗?

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

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