OSX PyGame Failed loading libpng.dylib: dlopen(libpng.dylib, 2)
<p>I'm getting this error <code>pygame.error: Failed loading libpng.dylib: dlopen(libpng.dylib, 2): image not found</code> when running a program on OSX (10.11.6) using Python 2.7</p>

<p>I've tried following <a href="http://stackoverflow.com/questions/38645391/python-pygame-error-failed-loading-libpng-dylib-dlopenlibpng-dylib-2-imag">this</a> but I've had no luck and I can't seem to find much else on this issue. Any help on this would be greatly appreciated. </p>

<p>Use python3 interpreter in terminal
e.g. python3  xx.py</p>

python osx pygame