title: Cannot Run pygame on PyCharm
body: <p>I'm running python 2.7.10 on Mac OS X El Capitan.
  I downloaded pygame 1.9.1 and it works fine on the command line version of Python. However, if i write a program that uses pygame library on PyCharm, it shows a error message like this. </p>
  
  <pre><code>/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 /Users/jeff/PycharmProjects/Codeup/Solution.py
  Traceback (most recent call last):
    File "/Users/jeff/PycharmProjects/Codeup/Solution.py", line 1, in &lt;module&gt;
      import pygame
    File "/Library/Python/2.6/site-packages/pygame/__init__.py", line 95, in &lt;module&gt;
      from pygame.base import *
  ImportError: dlopen(/Library/Python/2.6/site-packages/pygame/base.so, 2): Library not loaded: @executable_path/../Frameworks/SDL.framework/Versions/A/SDL
    Referenced from: /Library/Python/2.6/site-packages/pygame/base.so
    Reason: unsafe use of @executable_path in /Library/Python/2.6/site-packages/pygame/base.so with restricted binary
  </code></pre>
  
  <p>How can I solve this problem? </p>