Python pip install kivy fatal error C1083: Cannot open include file: 'GL / glew.h': No such file or directory
I want to install kivy
from the command line, I print:
pip install cython
pip install pygame
pip install kivy
install cython is pass, install pygame is pass, but when I install kivy I got an error:
fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory
error: command 'C:\\Users\\Ray\\AppData\\Local\\Programs\\Common\\Microsof
\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
my environment: OS: Windows 8.1 64 btis, Python 2.7 32 bit. Any suggestions?
+3
source to share
1 answer
a bit late for oyu, but i faced the same problem on windows. Solution might help someone:
I am using the following entries in my requirements.txt file:
pygame kivy.deps.sdl2 kivy.deps.glew kivy.deps.gstreamer kivy.deps.angle kivy==1.10.0
I install them as:
$ pip install -r requirements.txt
0
source to share