$curl -O http://python-distribute.org/distribute_setup.py
$python3 distribute_setup.py
$sudo ln -s /Library/Frameworks/Python.framework/Versions/3.3/bin/easy_install-3.3 /usr/local/bin/
$sudo easy_install-3.3 pymongo
$ python3
Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymongo
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pymongo-2.6.2-py3.3-macosx-10.6-intel.egg/pymongo/_init_.py", line 80, in <module>
from pymongo.connection import Connection
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pymongo-2.6.2-py3.3-macosx-10.6-intel.egg/pymongo/connection.py", line 39, in <module>
from pymongo.mongo_client import MongoClient
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pymongo-2.6.2-py3.3-macosx-10.6-intel.egg/pymongo/mongo_client.py", line 44, in <module>
from bson.py3compat import b
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/bson-0.3.3-py3.3.egg/bson/_init_.py", line 54, in <module>
from codec import *
ImportError: No module named 'codec'
>>>