title: pygame.error: video system not initialized when trying to run examples
body: <p>I'm trying to learn how to use pygame, but I'm having issues with running it. I installed it with the instructions here <a href="https://www.pygame.org/wiki/GettingStarted" rel="nofollow noreferrer">https://www.pygame.org/wiki/GettingStarted</a>.</p>
  
  <p>They tell you to install it with</p>
  
  <pre><code>python3 -m pip install -U pygame --user
  </code></pre>
  
  <p>and then to test it with </p>
  
  <pre><code>python3 -m pygame.examples.aliens
  </code></pre>
  
  <p>I ran these commands in Ubuntu and pygame was successfully installed. However, when I try to run the example I get</p>
  
  <pre><code>ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
  ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
  ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
  ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
  ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
  ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
  ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory
  ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
  Warning, no sound
  Traceback (most recent call last):
   File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
      "__main__", mod_spec)
    File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
      exec(code, run_globals)
   File "/home/Paul/.local/lib/python3.5/site-packages/pygame/examples/aliens.py", line 321, in &lt;module&gt;
      if __name__ == '__main__': main()
   File "/home/Paul/.local/lib/python3.5/site-packages/pygame/examples/aliens.py", line 188, in main
       bestdepth = pygame.display.mode_ok(SCREENRECT.size, winstyle, 32)
  pygame.error: video system not initialized
  </code></pre>
  
  <p>*I'm using Ubuntu terminal on Windows subsystem for Linux from the microsoft store.  <a href="https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6" rel="nofollow noreferrer">https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6</a></p>
  
  <p>**Following these instructions fixed it. <a href="https://virtualizationreview.com/articles/2017/02/08/graphical-programs-on-windows-subsystem-on-linux.aspx" rel="nofollow noreferrer">https://virtualizationreview.com/articles/2017/02/08/graphical-programs-on-windows-subsystem-on-linux.aspx</a></p>