Specifically, Python is unable to find SQL Alchemy.
Running easy_install does not help, as easy_install thinks SQL Alchemy is already installed and lists the path as
/usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.3-py2.6-linux-x86_64.egg
I tried (in a desperate attempt) to fix the problem by simply changing python2.6 to python2.7 in the path, but… obviously that didn’t work.
Does anyone know what’s going on and how to fix it?
Edit: Currently i’m using sys.path.append() to simply append the above path during the script’s execution, which is working okay. I’m concerned that this is just a temporary solution to a much bigger problem, however.
You can either change the symbolic link between Python that reflects when you just type the Python command with
ln -s /path/to/target /path/to/shortcutor explicitly call your Python 2.7 binary when installing packages like/usr/lib/python2.7/python /path/to/application.py