I am trying to execute a " Single File" in the Pyramid tutorial, but I am having a problem with actually executing a single-file project.
I am running Python 2.7 on Ubuntu 11.10. I installed setuptools, installed virtualenv and created virtualenv in my home directory with the following command:
virtualenv --no-site-packages env
Then I installed Pyramid from the directory envcreated above using the following command:
bin/easy_install pyramid
Continuing to follow the instructions for the Single File Tasks instructions, I created a Pyramid project inside my directory env.
The problem starts from this point: when I start python tasks.py, it responds with the following error:
Traceback (most recent call last):
File "tasks.py", line 4, in <module>
from pyramid.config import Configurator
ImportError: No module named pyramid.config
Pyramid, , .