title: Python Kivy error: Unable to get a Window, abort
body: <p>I'm tired trying to fix this error, can someone help me?
  I fixed the kivy fatal error first with adding a variable in the variables environment in the user variable(the variable's name is: KIVY_GL_BACKEND and it value is: angle_sdl2)
  I am using anaconda python 3.8.5 windows 7</p>
  <p>Here is my code:</p>
  <pre><code>from kivy.uix.label import Label
  
  class MyApp(App):
      def build(self):
          return Label(text='Hello world', text_size = 32)
  
  MyApp().run()
  </code></pre>
  <p>And the error is:</p>
  <pre><code>[INFO   ] [Logger      ] Record log in C:\Users\FARHAN\.kivy\logs\kivy_22-07-22_15.txt
  [INFO   ] [Kivy        ] v2.0.0
  [INFO   ] [Kivy        ] Installed at &quot;C:\Users\FARHAN\anaconda3\lib\site-packages\kivy\__init__.py&quot;
  [INFO   ] [Python      ] v3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]
  [INFO   ] [Python      ] Interpreter at &quot;C:\Users\FARHAN\anaconda3\python.exe&quot;
  [INFO   ] [Factory     ] 186 symbols loaded
  [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
  [INFO   ] [Text        ] Provider: sdl2
  [INFO   ] [Window      ] Provider: sdl2
  [INFO   ] [Window      ] Activate GLES2/ANGLE context
  [INFO   ] [GL          ] Using the &quot;OpenGL&quot; graphics system
  [INFO   ] [GL          ] Backend used &lt;angle_sdl2&gt;
  [INFO   ] [GL          ] OpenGL version &lt;b'OpenGL ES 2.0 (ANGLE 2.1.0.8613f4946861)'&gt;
  [INFO   ] [GL          ] OpenGL vendor &lt;b'Google Inc.'&gt;
  [INFO   ] [GL          ] OpenGL renderer &lt;b'ANGLE (Famille de jeu de puces Express Mobile Intel(R) 45 (Microsoft Corporation - WDDM 1.1) Direct3D11 vs_4_0 ps_4_0)'&gt;
  [INFO   ] [GL          ] OpenGL parsed version: 2, 0
  [INFO   ] [GL          ] Shading version &lt;b'OpenGL ES GLSL ES 1.00 (ANGLE 2.1.0.8613f4946861)'&gt;
  [INFO   ] [GL          ] Texture max size &lt;8192&gt;
  [INFO   ] [GL          ] Texture max units &lt;16&gt;
  [ERROR  ] [Shader      ] GL error 1282
  [INFO   ] [Shader      ] program: &lt;Failed to create D3D shaders.&gt;
  [CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
  sdl2 - Exception: Shader didnt link, check info log.
    File &quot;C:\Users\FARHAN\anaconda3\lib\site-packages\kivy\core\__init__.py&quot;, line 70, in core_select_lib
      cls = cls()
    File &quot;C:\Users\FARHAN\anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py&quot;, line 152, in __init__
      super(WindowSDL, self).__init__()
    File &quot;C:\Users\FARHAN\anaconda3\lib\site-packages\kivy\core\window\__init__.py&quot;, line 982, in __init__
      self.create_window()
    File &quot;C:\Users\FARHAN\anaconda3\lib\site-packages\kivy\core\window\window_sdl2.py&quot;, line 311, in create_window
      super(WindowSDL, self).create_window()
    File &quot;C:\Users\FARHAN\anaconda3\lib\site-packages\kivy\core\window\__init__.py&quot;, line 1268, in create_window
      self.render_context = RenderContext()
    File &quot;kivy\graphics\instructions.pyx&quot;, line 777, in kivy.graphics.instructions.RenderContext.__init__
    File &quot;kivy\graphics\shader.pyx&quot;, line 184, in kivy.graphics.shader.Shader.__init__
    File &quot;kivy\graphics\shader.pyx&quot;, line 701, in kivy.graphics.shader.Shader.vs.__set__
    File &quot;kivy\graphics\shader.pyx&quot;, line 557, in kivy.graphics.shader.Shader.build_vertex
    File &quot;kivy\graphics\shader.pyx&quot;, line 587, in kivy.graphics.shader.Shader.link_program
  
  [CRITICAL] [App         ] Unable to get a Window, abort.
  
  </code></pre>