title: Installing flask; python script still cannot import
body: <p>I have tried every command line installation possible in an attempt to install flask. I have followed the instructions from <a href="http://flask.pocoo.org/docs/installation/" rel="nofollow">http://flask.pocoo.org/docs/installation/</a></p>
  
  <p>After <code>sudo easy_install virtualenv</code>:</p>
  
  <pre><code>Searching for virtualenv
  Best match: virtualenv 1.11.6
  Adding virtualenv 1.11.6 to easy-install.pth file
  Installing virtualenv script to /usr/local/bin
  Installing virtualenv-2.7 script to /usr/local/bin
  
  Using /usr/local/lib/python2.7/dist-packages
  Processing dependencies for virtualenv
  Finished processing dependencies for virtualenv
  </code></pre>
  
  <p>after <code>pip-install flask</code>:</p>
  
  <pre><code>Requirement already satisfied (use --upgrade to upgrade): flask in ./python2.7/dist-packages
  Requirement already satisfied (use --upgrade to upgrade): Werkzeug&gt;=0.7 in ./python2.7/dist-packages (from flask)
  Requirement already satisfied (use --upgrade to upgrade): Jinja2&gt;=2.4 in ./python2.7/dist-packages (from flask)
  Requirement already satisfied (use --upgrade to upgrade): itsdangerous&gt;=0.21 in ./python2.7/dist-packages (from flask)
  Requirement already satisfied (use --upgrade to upgrade): markupsafe in ./python2.7/dist-packages (from Jinja2&gt;=2.4-&gt;flask)
  Cleaning up...
  </code></pre>
  
  <p>However after  <code>. venv/bin/activate</code>:</p>
  
  <pre><code>bash: venv/bin/activate: No such file or directory
  </code></pre>
  
  <p>I do know how to navigate around the terminal and create directories. I am uncertain how to process this command and/or activate virtualenv. I cannot find this directory or perhaps the sudo/pip commands were intended for a directory not defaulted on my drive?</p>
  
  <p>I try and run a python script using flask, and of course:</p>
  
  <pre><code>Traceback (most recent call last):
    File "testingflask.py", line 1, in &lt;module&gt;
      from flask import Flask
  ImportError: No module named flask
  </code></pre>
  
  <p>Here is the script:
  testingflask.py</p>
  
  <pre><code>from flask import flask
  app = Flask(__name__)
  
  @app.route("/")
  def hello():
      return "Hello World!"
  
  if __name__ == "__main__":
      app.run()
  </code></pre>
  
  <p>I have tried <code>apt-get install python-flask</code> as well</p>