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
'
Are there any code examples left?
New code examples in category Shell/Bash
-
Shell/Bash 2022-03-27 22:30:33 wise highlight ubuntu
-
Shell/Bash 2022-03-27 22:25:19 how to send a pull request in git
-
Shell/Bash 2022-03-27 21:55:06 how to open terminal in sublime text ubuntu
-
Shell/Bash 2022-03-27 21:25:19 how to switch branch
-
Shell/Bash 2022-03-27 21:20:25 python
-
Shell/Bash 2022-03-27 21:20:04 set user as admin gitlab
-
Shell/Bash 2022-03-27 21:10:09 apache2 mod_jk proxy to tomcat connector
-
Shell/Bash 2022-03-27 20:35:12 chown
-
Shell/Bash 2022-03-27 20:15:08 awk last match