Virtualenv issue with flask-werkzeug
Question: I have installed virtualenv along with flask, werkzeug, jinja2 and SQLAlchemy.
I was following the tutorial mentioned on the flask website and i came across
the below error when executing flask code

    
    
     Traceback (most recent call last):
      File "hello.py", line 1, in ?
        from flask import Flask
      File "/root/myproject/env/lib/python2.4/site-packages/Flask-0.7dev_20110211-py2.4.egg/flask/__init__.py", line 18
        from .app import Flask, Request, Response
             ^
    

What i feel is that virtualenv contains python 2.4 and in the documentation of
flask it is mentioned that flask supports python 2.5. So maybe that might be
the problem or it might be someother issue. Please help me out on this.

Secondly i would like to know the process of getting the latest virtualenv
which has Python 2.7 or any tips on how to install it on virtualenv.

I am using CentOS

Thank You in Advance


Answer: The `import .module` syntax is introduced in Python 2.5 ([relative
import](http://docs.python.org/release/2.5/whatsnew/pep-328.html)). So you
have to use at least 2.5 for this thing.

