Python Mac Error: IOError: [Errno 2] No such file or directory …

This is a situation that I have come upon in Mac OS X Mountain Lion:

For whatever reason this file is basically missing from the Python install by default.  We will not talk about why for Apple has always seemed to install bad versions of Python.

Python needs the file to know that it should look inside the folder for code.  To fix this error, enter this command:

And that should resolve the issue.