How to remove Python 3.6 from Ubuntu?How does one remove applications installed through “python setup.py...

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

Why does Kotter return in Welcome Back Kotter?

Why are electrically insulating heatsinks so rare? Is it just cost?

In Japanese, what’s the difference between “Tonari ni” (となりに) and “Tsugi” (つぎ)? When would you use one over the other?

Can I ask the recruiters in my resume to put the reason why I am rejected?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Prove that NP is closed under karp reduction?

Arthur Somervell: 1000 Exercises - Meaning of this notation

can i play a electric guitar through a bass amp?

Theorems that impeded progress

Email Account under attack (really) - anything I can do?

How much RAM could one put in a typical 80386 setup?

tikz: show 0 at the axis origin

An academic/student plagiarism

Can I make popcorn with any corn?

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

TGV timetables / schedules?

Fencing style for blades that can attack from a distance

The use of multiple foreign keys on same column in SQL Server

What's the output of a record cartridge playing an out-of-speed record

Today is the Center

Test whether all array elements are factors of a number

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

Why Is Death Allowed In the Matrix?



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 7 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
    6 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
    6 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
    6 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
    6 hours ago



















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

    – User1984
    6 hours ago

















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

– User1984
6 hours ago





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

– User1984
6 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

Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...