Hey Eric,

Have you activated your virtual environment?

$ cd env
$ source bin/activate

Otherwise you need to run it as $ bin/python tasks.py

Cheers,
Ruslan

On Sat, Jan 14, 2012 at 11:03 AM, Eric <err...@gmail.com> wrote:
> I am running Python 2.7 on Ubuntu 11.10
> I installed setuptools, and virtualenv
> I then 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"
>
> I then attempted to do the tutorial found at:
> http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/single_file_tasks/single_file_tasks.html
>
> I created the project inside my "env" directory.
>
> For some reason when I run "python tasks.py" I receive 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"
>
> Any idea what is going wrong? I am really interested in using Pyramid
> but I don't know where to go from here.
>
> Thanks...
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-devel" group.
> To post to this group, send email to pylons-devel@googlegroups.com.
> To unsubscribe from this group, send email to 
> pylons-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/pylons-devel?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to