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;
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
New contributor
|
show 1 more comment
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
New contributor
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 dopip3 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 trypip3.7
.
– Murphy
6 hours ago
@Murphy i got this error when i ranpip3.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
|
show 1 more comment
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
New contributor
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
python uninstall
New contributor
New contributor
edited 2 mins ago
Kevin Bowen
14.8k155970
14.8k155970
New contributor
asked 7 hours ago
User1984User1984
1
1
New contributor
New contributor
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 dopip3 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 trypip3.7
.
– Murphy
6 hours ago
@Murphy i got this error when i ranpip3.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
|
show 1 more comment
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 dopip3 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 trypip3.7
.
– Murphy
6 hours ago
@Murphy i got this error when i ranpip3.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
|
show 1 more comment
1 Answer
1
active
oldest
votes
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.
can you give me example of usingpip3.7
that will work i.epip3.7 install requests --user
??
– User1984
5 hours ago
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
can you give me example of usingpip3.7
that will work i.epip3.7 install requests --user
??
– User1984
5 hours ago
add a comment |
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.
can you give me example of usingpip3.7
that will work i.epip3.7 install requests --user
??
– User1984
5 hours ago
add a comment |
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.
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.
answered 6 hours ago
MurphyMurphy
606314
606314
can you give me example of usingpip3.7
that will work i.epip3.7 install requests --user
??
– User1984
5 hours ago
add a comment |
can you give me example of usingpip3.7
that will work i.epip3.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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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