I've installed python 2.7 with the dmg-installer of the official python page. After typing which python
in terminal, I get this:
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
But when I want to install a package with easy_install, for example like this easy_install pycassa
, I get the message Installed /Library/Python/2.6/site-packages/pycassa-1.1.0-py2.6.egg
, what is obviously the wrong path. So when I try to use the installed package with import pycassa
I get the error "no module named pycassa".
So how can I fix this issue best?