title: Why am I getting an ImportError when I try to run Pyramid?
body: <p>I'm trying to go through the "<a href="http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/single_file_tasks/single_file_tasks.html" rel="nofollow">Single File Tasks</a>" tutorial from the Pyramid documentation, but I'm running into a problem with actually running the single-file project.</p>
  
  <p>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:</p>
  
  <pre><code>virtualenv --no-site-packages env
  </code></pre>
  
  <p>I then installed Pyramid from within the <code>env</code> directory created above using the following command:</p>
  
  <pre><code>bin/easy_install pyramid
  </code></pre>
  
  <p>Continuing to follow the Single File Tasks tutorial's directions, I created a Pyramid project inside my <code>env</code> directory.</p>
  
  <p>The problem starts at this point: when I run <code>python tasks.py</code>, it responds with the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "tasks.py", line 4, in &lt;module&gt;
      from pyramid.config import Configurator
  ImportError: No module named pyramid.config
  </code></pre>
  
  <p>I am really interested in using Pyramid but I don't know where to go from here.</p>