I don\'t have root access and i want to install python from scratch. So I downloaded the python source code and compiled it. Next I wanted to install pip. But w
For those who have no root access, here is how I solved the issue.
Download Python (Gzipped source tarball).
Unzip and cd to the Python source directory.
Configure with the "--with-ensurepip=install" flag, e.g.,
./configure --prefix=[your-specified-dir] --with-zlib-dir=/usr/lib64 --with-ensurepip=install
make & make install
Now you should have a working but out-dated pip. To get the latest pip, download the get-pip.py file and run python get-pip.py
Now you should have the latest pip. Enjoy. :)