I have two servers both running Linux 4.1.12-124.19.1.el7uek.x86_64 #2 SMP x86_64 x86_64 x86_64 GNU/Linux, both with python 2.7.5, but only one of them have I been able to get pip to install and install the requests module.
I started by trying to install pip.
But when I try to run the yum install python-pip, it will just hang. All strace brings back is “restart_syscall(<… resuming interrupted poll …>”
But I can kill that process and install pip using the python3 command without a hitch, and then get requests.
The other server I have been able to get it to work with 2.7.5.
I know I should be upgrading to at least 3, but our DBAs want 2.7.5.