Saturday, December 29, 2012

virtualenv setup


I have python/django working system wide. But am currently looking into using Heroku for a new project so am trying to get virtualenv setup for the first time. When I run " startproject whatever" it creates the project ok, but then when I run "python runserver 8080" from the project folder I get the following error...

ImportError: No module named

Is it because at the top of my "" it is pointing to my system wide python(#!/usr/bin/env python) instead of my virtualenv one? If so how do I fix this? I tried changing the path at the top of the file but didn't seem to do anything.

You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment