Reputation: 13759
Im trying to deploy a Python3.2 app in my Ubuntu 12.04 server. Everything was fine, until I tried to use Jinja2 as my template system.
Im using virtualenv to use Pyhon3.2 instead of Python2, and I've installed other required libraries such as pymongo or bottle without problem. But now, my app fails because it says
ImportError: No module named jinja2
I've installed jinja2 the same way as I installed pymongo or bottle (using pip in the virtualenv), and they work just fine. If I try to install it again:
./virtualenv/bin/pip-3.2 install jinja2
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /var/www/virtualenv/lib/python3.2/site-packages
Cleaning up...
It says that it is installed. I've tried to uninstall and install again with no luck. Im trying to run the application using mod_wsgi, and I know it's using the right virtualenv, because I don't get any errors due to Pymongo, Bottle, what are installed using the virtualenv pip.
Any ideas? :(
Upvotes: 3
Views: 6004