Hi guys,
I created a virtual env and successfully installed Django 1.6 on it, and a bunch of other modules that I wanted to use in my apps. However, when launching my app, some modules I had installed did not import correctly with the error of 'not being found'.
Then I realized in the filesystem the 'pip' commands had installed the modules into python 2.6 site-packages while my app was had the paths all set to python 3.3
I saw some guy had a similar problem @ http://www.reddit.com/r/Python/comments/1qa71i/problem_with_virtualenv_django_on_python33/
I tried using the command pip3.3 thru the online bash console instead to install the modules, but the install failed by not having the admin rights to write into the python 3.3 site packages folder.
So as a work-around, I did something similar to https://www.pythonanywhere.com/forums/topic/123/#id_post_681 by adding
path = '//home/zjcheah/.virtualenvs/django16/lib/python2.7/site-packages'
if path not in sys.path:
sys.path.append(path)
to the WSGI file ( the one from the 'Web' tab, not the WSGI in the django project.)
What's the proper way to install modules into the python 3.3 virtualenv that's being used by the app?