I was unaware that pip could be installed via my operating system\'s package manager, so I compiled and installed pip via source with the following command:
wget
I was using above command but it was not working. This command worked for me:
python -m pip uninstall pip setuptools