Kivy GLEW Binary Dependency

raw JSON →
0.3.1 verified Fri May 01 auth: no python maintenance

Provides repackaged binary GLEW (OpenGL Extension Wrangler) shared library for Kivy. Version 0.3.1. Rarely updated; used internally by Kivy's sdl2 window provider on Windows.

pip install kivy-deps-glew
error ModuleNotFoundError: No module named 'kivy_deps.glew'
cause Attempting to import kivy_deps.glew directly, but it is not a Python module.
fix
Remove the import statement; this package is a binary dependency and is not imported in user code.
error ImportError: DLL load failed while importing glew: The specified module could not be found.
cause kivy-deps-glew not installed or incompatible with Python architecture (32-bit vs 64-bit).
fix
Ensure you installed the correct version of kivy-deps-glew matching your Python architecture. Reinstall using: pip install --force-reinstall kivy-deps-glew
gotcha Do not import this package directly. It is a binary dependency only.
fix Use the package 'kivy-deps-sdl2' instead for the SDL2 window provider on Windows.
deprecated On many systems (Linux, macOS) GLEW is provided by the system or a different package; installing kivy-deps-glew may cause conflicts.
fix Only install on Windows if needed; prefer letting Kivy's installer handle dependencies automatically.

GLEW is used automatically when Kivy initializes its OpenGL context. No direct import needed.

import kivy
from kivy.app import App
from kivy.uix.label import Label

class TestApp(App):
    def build(self):
        return Label(text='Hello, Kivy')

if __name__ == '__main__':
    TestApp().run()