New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named markup safe #6
Comments
It does look like you are close. After digging around, it looks like Jinja has added a new dependency on the MarkupSafe package since I installed it (I'm on version 2.6 - you can check your version by typing Side note: From what you said, it looks like you ran Let me know if this works. If it does, I'll plan to update the docs. Thanks for trying out Project Quicksilver! |
Maybe it didn't help him/her, but it did help me. Thanks! :D |
Glad it helped! |
Hi
could you please suggest what should i do to get markupsafe module. |
so it was very simple |
helped me as well... |
'pip install markupsafe' did the job for me as well |
Same here, for some reason; I only ran into this after I had attempted to install ansible on a fresh Debian 8 VM and had forgotten to install |
'pip install markupsafe' did not work for me. I had to download the markupsafe tarball and do |
"sudo pip install markupsafe" worked for me |
The Markupsafe Version on your flask framework (pip freeze) and the version in requirements.txt should be the same. |
@ ejhw I solved the problem as your way. Thank you very much. |
It surely did help me, Thanks! |
I've tried rdickert's solution, with no success. But downloading the markupsafe tar ball did, thank you ejhw for the tip |
I am close but stuck on:
"ImportError: No module named markup safe"
I tried to workaround manually by vagrant ssh and sudo easy_install jinja2 but no luck. - Thanks!
vagrant provision
[default] Running provisioner: ansible...
Traceback (most recent call last):
File "/Users/webdev/Applications/ansible/bin/ansible-playbook", line 24, in
import ansible.playbook
File "/Users/webdev/Applications/ansible/lib/ansible/playbook/init.py", line 18, in
import ansible.inventory
File "/Users/webdev/Applications/ansible/lib/ansible/inventory/init.py", line 27, in
from ansible.inventory.script import InventoryScript
File "/Users/webdev/Applications/ansible/lib/ansible/inventory/script.py", line 25, in
from ansible import utils
File "/Users/webdev/Applications/ansible/lib/ansible/utils/init.py", line 29, in
from ansible.utils import template
File "/Users/webdev/Applications/ansible/lib/ansible/utils/template.py", line 21, in
import jinja2
File "/Library/Python/2.7/site-packages/jinja2/init.py", line 33, in
from jinja2.environment import Environment, Template
File "/Library/Python/2.7/site-packages/jinja2/environment.py", line 13, in
from jinja2 import nodes
File "/Library/Python/2.7/site-packages/jinja2/nodes.py", line 18, in
from jinja2.utils import Markup
File "/Library/Python/2.7/site-packages/jinja2/utils.py", line 520, in
from markupsafe import Markup, escape, soft_unicode
[error] ImportError: No module named markup safe
The text was updated successfully, but these errors were encountered: