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

How can I add custom success page

Need help identifying/translating a plaque in Tangier, Morocco

What is the command to reset a PC without deleting any files

How to deal with fear of taking dependencies

Is a vector space a subspace of itself?

Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?

What is it called when one voice type sings a 'solo'?

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

Ideas for 3rd eye abilities

Why is the design of haulage companies so “special”?

How to make payment on the internet without leaving a money trail?

Is every set a filtered colimit of finite sets?

Where else does the Shulchan Aruch quote an authority by name?

Is Social Media Science Fiction?

Are white and non-white police officers equally likely to kill black suspects?

Map list to bin numbers

How would photo IDs work for shapeshifters?

Was there ever an axiom rendered a theorem?

A poker game description that does not feel gimmicky

Is there any use for defining additional entity types in a SOQL FROM clause?

Why airport relocation isn't done gradually?

Extreme, but not acceptable situation and I can't start the work tomorrow morning

If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?

COUNT(*) or MAX(id) - which is faster?



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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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 days 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 2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
    2 days 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
2 days 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
2 days 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
2 days 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
2 days 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
2 days ago






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

– Murphy
2 days 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
2 days 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
2 days 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
2 days 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
2 days ago










1 Answer
1






active

oldest

votes


















1














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
    2 days 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









1














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
    2 days ago















1














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
    2 days ago













1












1








1







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 2 days ago









MurphyMurphy

793315




793315












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

    – User1984
    2 days ago

















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

    – User1984
    2 days ago
















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

– User1984
2 days ago





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

– User1984
2 days 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

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?