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:
- 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#
- 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