ImportError: No module named pyobjc
Question: I am new to Python. I am running Mac OS X 10.8.2, Python 2.7.3, Xcode 4.5.1. I
am not able to `import pyobjc` to python.I used `easy_install pyobjc` or
manually downloading it from <http://pypi.python.org/pypi/pyobjc/2.3> and
running `python setup.py install`. Here is a screenshot of my `site-packages
folder` ![enter image description here](http://i.stack.imgur.com/ybMaC.png)

How do I solve this?

Here is a screenshot of sys.path.PyOBJc is present in sys.path
![](http://i.stack.imgur.com/qAhRY.png)


Answer: I don't see a `.pth` file for `pyobjc` in your `site-packages` directory
there.

`.pth` files, placed inside a directory already on Python's search path,
contain directories to add to that search path. They're simple text files; you
can review the ones already there to get a feel for how they work.

As to _why_ you didn't get `.pth` files for `pyobjc`, I'm not sure. But you
could create some to fix the problem up.

Further reading: [Modifying Python’s Search
Path](http://docs.python.org/install/index.html#inst-search-path)

