Hello, I am trying to set up Django with my own build of Python, and am running into a problem. I have the following passenger_wsgi.py file:
It works fine, but when I un-comment line #3, to switch to my own version of Python, I get the following error in the browser:
An error occurred importing your passenger_wsgi.py
I'm not sure what the problem is, i have installed python correctly and can run it from the command line:
Python 2.6.5 (r265:79063, Apr 15 2010, 16:04:17)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[skopje]$ which python
I would be grateful if anyone could help, or point me in the right direction.