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

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

Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap