Problem Scenario: You have CentOS (or a RedHat derivative) and Python is installed. You want to install pywinrm. When using Python and Python packages you get this error "gaierror ... 'Temporary failure in name resolution'))." How do you install pywinrm without pip and without a relevant yum repo?
Root cause: It can be caused by excessive open connections. A reboot could fix the problem.
Solution: Get the RPM file for pywinrm and its two dependencies. To do this run these four commands if you have internet access on the Linux machine:
wget ftp://ftp.icm.edu.pl/vol/rzm5/linux-opensuse/repositories/devel:/languages:/python/openSUSE_13.2/noarch/python-pywinrm-0.0.1.99-1.1.noarch.rpm
wget ftp://mirror.switch.ch/pool/4/mirror/fedora/linux/updates/23/armhfp/p/python-isodate-0.5.4-1.fc23.noarch.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm5/linux-fedora-secondary/releases/23/Everything/ppc64/os/Packages/p/python-xmltodict-0.9.0-2.fc23.noarch.rpm
# If the links don't work, find other hosting providers at http://rpm.pbone.net. If you do not have internet access, download the files to a workstation. Then transfer them to the Linux machine.
yum localinstall python*rpm
# If you prefer, use "rpm -ivh python*rpm"
If you do not have pip installed, have no direct connection to the Internet and no yum repo configured, this solution will still work.