How do I install markupsafe into my Flask virtualenv?

Viewed 14400

I've been doing the following tutorial and looking it over may help you figure out what I haven't been able to:

http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world/

I'm working on a OS X (10.6.8) with Python 2.7.6. I'm pretty sure that I followed all the instructions (on page 1) to a T and have checked that the required libraries are indeed in the modules list in the python virtualenv however, I get this error message when I try to run 'run.py':

    File "/Users/user1/Desktop/flasktut/microblog/flask/lib/python2.7/site-packages/jinja2/utils.py", line 520, in <module>
    from markupsafe import Markup, escape, soft_unicode
    ImportError: No module named markupsafe

I need markupsafe in my virtualenv - how do I get it in there?

1 Answers
Related