When you encounter an error when Python tells you βNo module named blahβ, it really means that it cannot find the βblahβ.
I would check your pythonpath and file system permissions against the stuff of your path.
Edit
Your problem seems to be a known issue: http://www.gramps-project.org/bugs/view.php?id=5464
This is not caused by running Gramps from the source, next to as far as I can tell. It doesn't look like a Python Path issue, as Gramps Django is developing assumptions where your Django settings will be (but I could be wrong).
As for the Python Path, there are many resources that describe how to do this. The easiest way to test your Python path is to run echo $PYTHONPATH in a terminal. If you do not see it, Python may not find it.
source share