I have been using pygame for AGES now and never has it raised an error like this.
Traceback (most recent call last):
File "dodgeball.py", line 1, in <module>
File "/Library/Python/2.7/site-packages/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dlopen(/Library/Python/2.7/site-packages/pygame/base.so, 2): Library not loaded:
Referenced from: /Library/Python/2.7/site-packages/pygame/base.so
Reason: unsafe use of @executable_path in /Library/Python/2.7/site-packages/pygame/base.so with restricted binary
Apple has introduced System Integrity Protection, as developer we might need to disable it.
csrutil disableand press Enter.