How Do I Remove Python 2 7 from Linux?

How Do I Remove Python 2 7 from Linux?
Contents

How do I remove Python 2.7 from Linux?

To uninstall, or remove, a package use the command ‘$PIP uninstall <package-name>’.

  1. This example will remove the flask package. In this example using Python 2.7: ‘pip uninstall – flask’ …
  2. NOTE: You will be unable to remove packages installed directly on the system.

How do I uninstall Python 2 7?

How to uninstall Python

  1. Navigate to Control Panel.
  2. Click “Uninstall a program”, and a list of all the currently installed programs will display.
  3. Select the Python version that you want to uninstall, then click the “Uninstall” button above the list – this has to be done for every Python version installed on the system.
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.