title: Pygame error: mixer system not initialized
body: <p>I've just started a little game project and I'm trying to make it play a sound everytime a bullet is fired but i keep getting the same error:</p>
  
  <pre><code>pygame.error: mixer system not initialized
  </code></pre>
  
  <p>I don't get what I've done wrong, so here is my code:</p>
  
  <pre><code>import pygame, sys
  from pygame.locals import *
  
  theClock = pygame.time.Clock()
  
  sound = pygame.mixer.Sound("bullet.mp3")
  </code></pre>
  
  <p>....</p>
  
  <pre><code>if event.type == KEYDOWN:
      if event.key == K_SPACE and shot_count == 0:
          sound.play()
          shot_y = h-50
          shot_x = x
      elif event.type == K_SPACE and shot_count == 1:
          shot_y_2 = h-50
          shot_x_2 = x
      print(h, ' ', shot_y, shot_count)
  if event.type == KEYUP:
      if event.key == K_SPACE and shot_count == 0:
          resetShot = 0 
      elif event.type == K_SPACE and shot_count == 1:
          resetShot = 0
  </code></pre>