Description of problem: Flask tries to import jinja2, fails, and raises an ImportError. Version-Release number of selected component (if applicable): 0.9-5.el6 How reproducible: Always Steps to Reproduce: 1. Install python-flask on a clean system 2. At a Python prompt, "import flask" Actual results: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/site-packages/flask/__init__.py", line 19, in <module> from jinja2 import Markup, escape ImportError: No module named jinja2 Expected results: Import succeeds. Additional info: On EPEL 6, python-flask depends on python-jinja2-26 but not python-jinja. python-jinja2-26 intentionally does not install itself into the Python path (see bug 1004384).
See comment here: https://bugzilla.redhat.com/show_bug.cgi?id=867105#c9 ...for a workaround and reasoning as to why we this is the best we can do. *** This bug has been marked as a duplicate of bug 867105 ***