I'm trying to go through the "Single File Tasks" tutorial from the Pyramid documentation, but I'm running into a problem with actually running the single-file project.
I am running Python 2.7 on Ubuntu 11.10. I've installed setuptools, installed virtualenv, and created a virtualenv in my home directory with the following command:
virtualenv --no-site-packages env
I then installed Pyramid from within the env
directory created above using the following command:
bin/easy_install pyramid
Continuing to follow the Single File Tasks tutorial's directions, I created a Pyramid project inside my env
directory.
The problem starts at this point: when I run 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
I am really interested in using Pyramid but I don't know where to go from here.
run the app from your python env,
../bin/python tasks.py
assuming your in env/tasks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With