How to remove Python 3.6 from Ubuntu?How does one remove applications installed through “python setup.py install”?What would cause the “gi” module to be missing from python?Uninstall Python 2.7 on Ubuntu 12.04Why are multiple versions of python present on Ubuntu 16.04?Missing files after uninstalling python from Ubuntu 16How can I remove python 3.6 installed from deadsnakes PPA after upgrade to Ubuntu 18.04?How to set Python3 as default Python interpreter for VScode?Remove old versions of Python and pipRepair Ubuntu 18.04 after Python 3.6 RemovalHow to remove extra versions of python from Ubuntu 3.6

Languages that we cannot (dis)prove to be Context-Free

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

What typically incentivizes a professor to change jobs to a lower ranking university?

Why don't electron-positron collisions release infinite energy?

What does it mean to describe someone as a butt steak?

LaTeX closing $ signs makes cursor jump

Python: next in for loop

How to format long polynomial?

Is it legal for company to use my work email to pretend I still work there?

Fully-Firstable Anagram Sets

Can I make popcorn with any corn?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

What does "Puller Prush Person" mean?

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

How can I make my BBEG immortal short of making them a Lich or Vampire?

Is it possible to do 50 km distance without any previous training?

Arthur Somervell: 1000 Exercises - Meaning of this notation

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

Fencing style for blades that can attack from a distance

tikz: show 0 at the axis origin

Problem of parity - Can we draw a closed path made up of 20 line segments...

TGV timetables / schedules?

How could an uplifted falcon's brain work?

What is the word for reserving something for yourself before others do?



How to remove Python 3.6 from Ubuntu?


How does one remove applications installed through “python setup.py install”?What would cause the “gi” module to be missing from python?Uninstall Python 2.7 on Ubuntu 12.04Why are multiple versions of python present on Ubuntu 16.04?Missing files after uninstalling python from Ubuntu 16How can I remove python 3.6 installed from deadsnakes PPA after upgrade to Ubuntu 18.04?How to set Python3 as default Python interpreter for VScode?Remove old versions of Python and pipRepair Ubuntu 18.04 after Python 3.6 RemovalHow to remove extra versions of python from Ubuntu 3.6






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I just installed Ubuntu, and it comes with default a default Python version of 3.6.7. I installed Python 3.7.3 by following these instructions (changing 3.7.2 to 3.7.3 as appropriate) and it all worked well.



Now I have two Python 3 versions, both working. I would now like to remove Python 3.6.7 and keep 3.7.3.



How should I go about doing this?










share|improve this question









New contributor




User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    Don't remove python if you want to keep using Ubuntu. Things will break if you do, so think of plan B now.

    – mikewhatever
    6 hours ago












  • @mikewhatever thanks, but when i do pip3 install .. it doesn't work it just installs for python 3.6 and python 3.7 doesn't get installation

    – User1984
    6 hours ago






  • 2





    @User1984 Then why didn't you ask for that? Please read xyproblem.info And the solution would be to try pip3.7.

    – Murphy
    6 hours ago












  • @Murphy i got this error when i ran pip3.7 install requests Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/chardet' Consider using the --user option or check the permissions.

    – User1984
    6 hours ago






  • 1





    "why should i keep more than one python3 version on my pc" For the exact reason you were given by @mikewhatever. BTW, this would be a good time to take the tour and read How to Ask.

    – Murphy
    6 hours ago

















0















I just installed Ubuntu, and it comes with default a default Python version of 3.6.7. I installed Python 3.7.3 by following these instructions (changing 3.7.2 to 3.7.3 as appropriate) and it all worked well.



Now I have two Python 3 versions, both working. I would now like to remove Python 3.6.7 and keep 3.7.3.



How should I go about doing this?










share|improve this question









New contributor




User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    Don't remove python if you want to keep using Ubuntu. Things will break if you do, so think of plan B now.

    – mikewhatever
    6 hours ago












  • @mikewhatever thanks, but when i do pip3 install .. it doesn't work it just installs for python 3.6 and python 3.7 doesn't get installation

    – User1984
    6 hours ago






  • 2





    @User1984 Then why didn't you ask for that? Please read xyproblem.info And the solution would be to try pip3.7.

    – Murphy
    6 hours ago












  • @Murphy i got this error when i ran pip3.7 install requests Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/chardet' Consider using the --user option or check the permissions.

    – User1984
    6 hours ago






  • 1





    "why should i keep more than one python3 version on my pc" For the exact reason you were given by @mikewhatever. BTW, this would be a good time to take the tour and read How to Ask.

    – Murphy
    6 hours ago













0












0








0








I just installed Ubuntu, and it comes with default a default Python version of 3.6.7. I installed Python 3.7.3 by following these instructions (changing 3.7.2 to 3.7.3 as appropriate) and it all worked well.



Now I have two Python 3 versions, both working. I would now like to remove Python 3.6.7 and keep 3.7.3.



How should I go about doing this?










share|improve this question









New contributor




User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I just installed Ubuntu, and it comes with default a default Python version of 3.6.7. I installed Python 3.7.3 by following these instructions (changing 3.7.2 to 3.7.3 as appropriate) and it all worked well.



Now I have two Python 3 versions, both working. I would now like to remove Python 3.6.7 and keep 3.7.3.



How should I go about doing this?







python uninstall






share|improve this question









New contributor




User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 mins ago









Kevin Bowen

14.8k155970




14.8k155970






New contributor




User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 7 hours ago









User1984User1984

1




1




New contributor




User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






User1984 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1





    Don't remove python if you want to keep using Ubuntu. Things will break if you do, so think of plan B now.

    – mikewhatever
    6 hours ago












  • @mikewhatever thanks, but when i do pip3 install .. it doesn't work it just installs for python 3.6 and python 3.7 doesn't get installation

    – User1984
    6 hours ago






  • 2





    @User1984 Then why didn't you ask for that? Please read xyproblem.info And the solution would be to try pip3.7.

    – Murphy
    6 hours ago












  • @Murphy i got this error when i ran pip3.7 install requests Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/chardet' Consider using the --user option or check the permissions.

    – User1984
    6 hours ago






  • 1





    "why should i keep more than one python3 version on my pc" For the exact reason you were given by @mikewhatever. BTW, this would be a good time to take the tour and read How to Ask.

    – Murphy
    6 hours ago












  • 1





    Don't remove python if you want to keep using Ubuntu. Things will break if you do, so think of plan B now.

    – mikewhatever
    6 hours ago












  • @mikewhatever thanks, but when i do pip3 install .. it doesn't work it just installs for python 3.6 and python 3.7 doesn't get installation

    – User1984
    6 hours ago






  • 2





    @User1984 Then why didn't you ask for that? Please read xyproblem.info And the solution would be to try pip3.7.

    – Murphy
    6 hours ago












  • @Murphy i got this error when i ran pip3.7 install requests Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/chardet' Consider using the --user option or check the permissions.

    – User1984
    6 hours ago






  • 1





    "why should i keep more than one python3 version on my pc" For the exact reason you were given by @mikewhatever. BTW, this would be a good time to take the tour and read How to Ask.

    – Murphy
    6 hours ago







1




1





Don't remove python if you want to keep using Ubuntu. Things will break if you do, so think of plan B now.

– mikewhatever
6 hours ago






Don't remove python if you want to keep using Ubuntu. Things will break if you do, so think of plan B now.

– mikewhatever
6 hours ago














@mikewhatever thanks, but when i do pip3 install .. it doesn't work it just installs for python 3.6 and python 3.7 doesn't get installation

– User1984
6 hours ago





@mikewhatever thanks, but when i do pip3 install .. it doesn't work it just installs for python 3.6 and python 3.7 doesn't get installation

– User1984
6 hours ago




2




2





@User1984 Then why didn't you ask for that? Please read xyproblem.info And the solution would be to try pip3.7.

– Murphy
6 hours ago






@User1984 Then why didn't you ask for that? Please read xyproblem.info And the solution would be to try pip3.7.

– Murphy
6 hours ago














@Murphy i got this error when i ran pip3.7 install requests Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/chardet' Consider using the --user option or check the permissions.

– User1984
6 hours ago





@Murphy i got this error when i ran pip3.7 install requests Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/chardet' Consider using the --user option or check the permissions.

– User1984
6 hours ago




1




1





"why should i keep more than one python3 version on my pc" For the exact reason you were given by @mikewhatever. BTW, this would be a good time to take the tour and read How to Ask.

– Murphy
6 hours ago





"why should i keep more than one python3 version on my pc" For the exact reason you were given by @mikewhatever. BTW, this would be a good time to take the tour and read How to Ask.

– Murphy
6 hours ago










1 Answer
1






active

oldest

votes


















0














Ubuntu uses python for many system related functionalities. You must not remove the Python installation that is preinstalled by it, or you'll end up with a broken system, perhaps beyond repair.



If for some reason you need to use a more recent Python version, just install it parallel and call it explicitely, e. g. with python3.7, as python3 will point to the default installation. The same goes for pip, which may need the --user option or being called with sudo depending on the permissions.






share|improve this answer























  • can you give me example of using pip3.7 that will work i.e pip3.7 install requests --user ??

    – User1984
    5 hours ago











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






User1984 is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131731%2fhow-to-remove-python-3-6-from-ubuntu%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Ubuntu uses python for many system related functionalities. You must not remove the Python installation that is preinstalled by it, or you'll end up with a broken system, perhaps beyond repair.



If for some reason you need to use a more recent Python version, just install it parallel and call it explicitely, e. g. with python3.7, as python3 will point to the default installation. The same goes for pip, which may need the --user option or being called with sudo depending on the permissions.






share|improve this answer























  • can you give me example of using pip3.7 that will work i.e pip3.7 install requests --user ??

    – User1984
    5 hours ago















0














Ubuntu uses python for many system related functionalities. You must not remove the Python installation that is preinstalled by it, or you'll end up with a broken system, perhaps beyond repair.



If for some reason you need to use a more recent Python version, just install it parallel and call it explicitely, e. g. with python3.7, as python3 will point to the default installation. The same goes for pip, which may need the --user option or being called with sudo depending on the permissions.






share|improve this answer























  • can you give me example of using pip3.7 that will work i.e pip3.7 install requests --user ??

    – User1984
    5 hours ago













0












0








0







Ubuntu uses python for many system related functionalities. You must not remove the Python installation that is preinstalled by it, or you'll end up with a broken system, perhaps beyond repair.



If for some reason you need to use a more recent Python version, just install it parallel and call it explicitely, e. g. with python3.7, as python3 will point to the default installation. The same goes for pip, which may need the --user option or being called with sudo depending on the permissions.






share|improve this answer













Ubuntu uses python for many system related functionalities. You must not remove the Python installation that is preinstalled by it, or you'll end up with a broken system, perhaps beyond repair.



If for some reason you need to use a more recent Python version, just install it parallel and call it explicitely, e. g. with python3.7, as python3 will point to the default installation. The same goes for pip, which may need the --user option or being called with sudo depending on the permissions.







share|improve this answer












share|improve this answer



share|improve this answer










answered 6 hours ago









MurphyMurphy

606314




606314












  • can you give me example of using pip3.7 that will work i.e pip3.7 install requests --user ??

    – User1984
    5 hours ago

















  • can you give me example of using pip3.7 that will work i.e pip3.7 install requests --user ??

    – User1984
    5 hours ago
















can you give me example of using pip3.7 that will work i.e pip3.7 install requests --user ??

– User1984
5 hours ago





can you give me example of using pip3.7 that will work i.e pip3.7 install requests --user ??

– User1984
5 hours ago










User1984 is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















User1984 is a new contributor. Be nice, and check out our Code of Conduct.












User1984 is a new contributor. Be nice, and check out our Code of Conduct.











User1984 is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131731%2fhow-to-remove-python-3-6-from-ubuntu%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»