Мы хотим установить пакет Jinja2-2.10-py2.py3-none-any.whl с помощью pip - на новой ОС REDHAT (версия 7.2)
pip install Jinja2-2.10-py2.py3-none-any.whl
Processing ./Jinja2-2.10-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2==2.10)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-3, 'Temporary failure in name resolution'))': /simple/markupsafe/
Я не понимаю, почему с pip произошел сбой«Временный сбой в разрешении имен», в то время как мы хотим установить пакет - Jinja2-2.10-py2.py3-none-any.whl по pip?
Мы также безуспешно пытаемся выполнить следующее:
pip install --no-index --find-links Jinja2-2.10-py2.py3-none-any.whl
Ignoring indexes: https://pypi.python.org/simple
You must give at least one requirement to install (maybe you meant "pip install Jinja2-2.10-py2.py3-none-any.whl"?)
pip install --no-index /tmp/install/Jinja2-2.10-py2.py3-none-any.whl
Ignoring indexes: https://pypi.python.org/simple
Processing ./Jinja2-2.10-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2==2.10)
Could not find a version that satisfies the requirement MarkupSafe>=0.23 (from Jinja2==2.10) (from versions: )
No matching distribution found for MarkupSafe>=0.23 (from Jinja2==2.10)
pip install -U Jinja2-2.10-py2.py3-none-any.whl
Processing ./Jinja2-2.10-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2==2.10)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-3, 'Temporary failure in name resolution'))': /simple/markupsafe/
pip install -e Jinja2-2.10-py2.py3-none-any.whl
Jinja2-2.10-py2.py3-none-any.whl should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+
в данном случае PIP - это локальная папка
pip install -e PIP/Jinja2-2.10-py2.py3-none-any.whl
PIP/Jinja2-2.10-py2.py3-none-any.whl should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+
ОБНОВЛЕНИЕ
[root@Master install_zone]# ls PIP/
Jinja2-2.10-py2.py3-none-any.whl
[root@Master install_zone]# pip install --no-index --find-links=./PIP Jinja2
Ignoring indexes: https://pypi.python.org/simple
Collecting Jinja2
Collecting MarkupSafe>=0.23 (from Jinja2)
Could not find a version that satisfies the requirement MarkupSafe>=0.23 (from Jinja2) (from versions: )
No matching distribution found for MarkupSafe>=0.23 (from Jinja2)
[root@Master install_zone]#
МЫ ПРОВЕРЯЕМ разрешение как: (подробности из /etc/resolv.conf)
[root@Master install_zone]# host sys54.com
sys54.com has address 32.44.1.154
[root@Master install_zone]# host 32.44.1.154
17.2.21.10.in-addr.arpa domain name pointer mpsload.sys54.com.