1👍
✅
It’s obvious from your traceback that you have a version of pip
installed in your home directory, at /home/shashank/.local/lib/python2.7/site-packages/pip/
. Delete that. If you aren’t certain what else is contained there, better delete all /home/shashank/.local/lib/python2.7
. After you delete it, it will use the system’s default pip
that you installed with apt
.
Source:stackexchange.com