linux uninstall python
sudo apt autoremove python3
uninstall python 3.5
$sudo apt remove python3.5 (or the version the above command returned)
#the above Command removes python3.5 from the system.
$sudo apt purge python3.5
#the above command removes all the folders and files generated or created by python3.5
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.
uninstall python 2.7 and install 3
: '
Ubuntu depends greatly on Python 2.7 and Python 3, so there is no good method to remove it.
Warning: Do not even try to remove it else you will have your OS broken.
Here is my advice....
create a virtual environment for your workspaces,
and if you want something better,
Download Anaconda or Miniconda for a better solution (It depends on what you develop though).
-------------------------------------------------------------------------------------------
check this threads for more.
1. https://askubuntu.com/questions/1321421/how-to-remove-all-traces-of-python-from-ubuntu
2. https://askubuntu.com/questions/315015/how-can-i-remove-python-2-7-after-installing-python-3-3
'
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us