Hi, 

I am trying to install Ansible on a RHEL 7.1 VM, and hitting the (last) 
outstanding dependency:

-bash-4.2# rpm -Uvh ./rpm-build/ansible-*.noarch.rpm
error: Failed dependencies:
        python-jinja2 is needed by 
ansible-2.0.0.2-0.git201601142217.7de237c.stable2001.el7.noarch

I've tried different ways to get jinja2:
1. via the tarball, which succeeded, but it doesn't seem to get recognized 
by Ansible:

Installed /usr/lib/python2.7/site-packages/Jinja2-2.8.1_dev-py2.7.egg
Processing dependencies for Jinja2==2.8.1-dev
Searching for MarkupSafe==0.23
Best match: MarkupSafe 0.23
Processing MarkupSafe-0.23-py2.7-linux-x86_64.egg
MarkupSafe 0.23 is already the active version in easy-install.pth

Using 
/usr/lib64/python2.7/site-packages/MarkupSafe-0.23-py2.7-linux-x86_64.egg
Finished processing dependencies for Jinja2==2.8.1-dev
-bash-4.2#

2. via easy_install, but seems to hit a SSL bug due to proxy server

/root/jinja/jinja2
-bash-4.2# easy_install python-jinja2
Searching for python-jinja2
Reading https://pypi.python.org/simple/python-jinja2/
Download error on https://pypi.python.org/simple/python-jinja2/: [Errno 1] 
_ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol -- Some packages may not be found!
Couldn't find index page for 'python-jinja2' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: 
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some 
packages may not be found!
No local packages or download links found for python-jinja2
error: Could not find suitable distribution for 
Requirement.parse('python-jinja2')

How can I proceed? Thanks a lot!

Shili


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/53114420-c602-4ee3-89d7-70ddbd30dccf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to