{"id":23937,"library":"kivy-deps-glew","title":"Kivy GLEW Binary Dependency","description":"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.","status":"maintenance","version":"0.3.1","language":"python","source_language":"en","source_url":"https://github.com/kivy/kivy-deps-glew","tags":["kivy","glew","binary-dependency","opengl"],"install":[{"cmd":"pip install kivy-deps-glew","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"This package is a binary dependency of Kivy; not useful standalone.","package":"kivy","optional":false}],"imports":[{"note":"This package is not meant to be imported directly. It only installs the GLEW DLL into the Kivy environment.","wrong":"from kivy_deps.glew import ...","symbol":"glew","correct":"No direct import; package is automatically used by Kivy when needed."}],"quickstart":{"code":"import kivy\nfrom kivy.app import App\nfrom kivy.uix.label import Label\n\nclass TestApp(App):\n    def build(self):\n        return Label(text='Hello, Kivy')\n\nif __name__ == '__main__':\n    TestApp().run()","lang":"python","description":"GLEW is used automatically when Kivy initializes its OpenGL context. No direct import needed."},"warnings":[{"fix":"Use the package 'kivy-deps-sdl2' instead for the SDL2 window provider on Windows.","message":"Do not import this package directly. It is a binary dependency only.","severity":"gotcha","affected_versions":"all"},{"fix":"Only install on Windows if needed; prefer letting Kivy's installer handle dependencies automatically.","message":"On many systems (Linux, macOS) GLEW is provided by the system or a different package; installing kivy-deps-glew may cause conflicts.","severity":"deprecated","affected_versions":">=0.3.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Remove the import statement; this package is a binary dependency and is not imported in user code.","cause":"Attempting to import kivy_deps.glew directly, but it is not a Python module.","error":"ModuleNotFoundError: No module named 'kivy_deps.glew'"},{"fix":"Ensure you installed the correct version of kivy-deps-glew matching your Python architecture. Reinstall using: pip install --force-reinstall kivy-deps-glew","cause":"kivy-deps-glew not installed or incompatible with Python architecture (32-bit vs 64-bit).","error":"ImportError: DLL load failed while importing glew: The specified module could not be found."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}