LMSouq
server-admin Open

How to completely uninstall python 2.7.13 on Ubuntu 16.04

LU
Lucas
1 month ago
3 views
Problem Description
I installed Python 2.7.13 on Ubuntu 16.04 according to [this guide][1], and it became the default version as an alternative to the version 2.7.12. But, I wanted to completely remove Python 2.7.13 and return back to the version 2.7.12 as the default version since the `pip` command does not work with the following error. bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory Could you please help me how to completely remove Python 2.7.13 from Ubuntu 16.04? Otherwise, could you please suggest how to fix the above error? [1]: https://tecadmin.net/install-python-2-7-on-ubuntu-and-linuxmint/

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base