5

I am trying to install kivy using pip and, but I'm getting the error:

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

Any suggestion?

4
  • You need various dependencies to compile kivy on windows (well, on linux and osx too, but in those cases it's easier). I don't know what they are exactly. The difficulties with doing this are why we provide the portable package at kivy.org. Commented Oct 9, 2015 at 15:17
  • It very specifically says: 'GL/glew.h': No such file or directory indicating that you don't have the OpenGL Extension Wrangler installed or it can't find it. Commented Oct 9, 2015 at 15:24
  • @inclement I have followed the instructions (on Windows 8.1 for python 3.5.2) at kivy.org/docs/installation/installation-windows.html# but am getting a similar message: fatal error C1083: Cannot open include file: 'GL/glew.h' Despite having filled the glew dependency: Requirement already satisfied: kivy.deps.glew... I see no obvious link to a "portable package". Commented Feb 7, 2017 at 9:00
  • Apologies, I now understand the use of wheels and have been able to use one to get kivy 1.9.x installed on my system and working as intended. Commented Feb 7, 2017 at 9:10

1 Answer 1

3

You need to install libglew binaries for windows:

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.