A
A
Alexey Samoilov2015-03-21 20:20:28
Python
Alexey Samoilov, 2015-03-21 20:20:28

No module named markupsafe. What to do?

Installed jinja2.
It gives an error during import.
Traceback (most recent call last):
File "", line 1, in
import jinja2
File "C:\Python27\lib\site-packages\jinja2\__init__.py", line 33, in
from jinja2.environment import Environment, Template
File "C:\Python27\lib\site-packages\jinja2\environment.py", line 13, in
from jinja2 import nodes
File "C:\Python27\lib\site-packages\jinja2\nodes.py", line 18 , in
from jinja2.utils import Markup
File "C:\Python27\lib\site-packages\jinja2\utils.py", line 520, in
from markupsafe import Markup, escape, soft_unicode
ImportError: No module named markupsafe

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bobrovskyserg, 2015-03-21
@tibhar940

So install:
What to do if pip is not installed .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question