How to uninstall Anaconda completely from MacOS
How can I completely uninstall Anaconda from MacOS Sierra and revert back to the original Python? I have tried using conda-clean -yes
but that doesn't work. I also remove the stuff in ~/.bash_profile
but it still uses the Anaconda python and I can still run the conda
command.
python macos anaconda uninstall
add a comment |
How can I completely uninstall Anaconda from MacOS Sierra and revert back to the original Python? I have tried using conda-clean -yes
but that doesn't work. I also remove the stuff in ~/.bash_profile
but it still uses the Anaconda python and I can still run the conda
command.
python macos anaconda uninstall
is there an analogous post for Ubuntu?
– frank
Apr 12 '18 at 23:21
@frank doesn't the accepted answer work for Ubuntu as well?
– Ulysse BN
Jun 19 '18 at 14:58
Possible duplicate of Python Anaconda - How to Safely Uninstall
– vaer-k
Dec 14 '18 at 17:34
haha no way you went to an almost 2 year old post to mark it as duplicate
– Jordan Baron
Jan 11 at 0:21
add a comment |
How can I completely uninstall Anaconda from MacOS Sierra and revert back to the original Python? I have tried using conda-clean -yes
but that doesn't work. I also remove the stuff in ~/.bash_profile
but it still uses the Anaconda python and I can still run the conda
command.
python macos anaconda uninstall
How can I completely uninstall Anaconda from MacOS Sierra and revert back to the original Python? I have tried using conda-clean -yes
but that doesn't work. I also remove the stuff in ~/.bash_profile
but it still uses the Anaconda python and I can still run the conda
command.
python macos anaconda uninstall
python macos anaconda uninstall
edited Jan 17 '18 at 19:40
smci
14.9k674104
14.9k674104
asked Feb 11 '17 at 23:59
Jordan BaronJordan Baron
6242714
6242714
is there an analogous post for Ubuntu?
– frank
Apr 12 '18 at 23:21
@frank doesn't the accepted answer work for Ubuntu as well?
– Ulysse BN
Jun 19 '18 at 14:58
Possible duplicate of Python Anaconda - How to Safely Uninstall
– vaer-k
Dec 14 '18 at 17:34
haha no way you went to an almost 2 year old post to mark it as duplicate
– Jordan Baron
Jan 11 at 0:21
add a comment |
is there an analogous post for Ubuntu?
– frank
Apr 12 '18 at 23:21
@frank doesn't the accepted answer work for Ubuntu as well?
– Ulysse BN
Jun 19 '18 at 14:58
Possible duplicate of Python Anaconda - How to Safely Uninstall
– vaer-k
Dec 14 '18 at 17:34
haha no way you went to an almost 2 year old post to mark it as duplicate
– Jordan Baron
Jan 11 at 0:21
is there an analogous post for Ubuntu?
– frank
Apr 12 '18 at 23:21
is there an analogous post for Ubuntu?
– frank
Apr 12 '18 at 23:21
@frank doesn't the accepted answer work for Ubuntu as well?
– Ulysse BN
Jun 19 '18 at 14:58
@frank doesn't the accepted answer work for Ubuntu as well?
– Ulysse BN
Jun 19 '18 at 14:58
Possible duplicate of Python Anaconda - How to Safely Uninstall
– vaer-k
Dec 14 '18 at 17:34
Possible duplicate of Python Anaconda - How to Safely Uninstall
– vaer-k
Dec 14 '18 at 17:34
haha no way you went to an almost 2 year old post to mark it as duplicate
– Jordan Baron
Jan 11 at 0:21
haha no way you went to an almost 2 year old post to mark it as duplicate
– Jordan Baron
Jan 11 at 0:21
add a comment |
8 Answers
8
active
oldest
votes
To remove the configs:
conda install anaconda-clean
anaconda-clean --yes
Once the configs are removed you can delete the anaconda install folder, which is usually under your home dir:
rm -rf ~/anaconda3
Also, the anaconda-clean --yes
command creates a backup in your home directory of the format ~/.anaconda_backup/<timestamp>
. Make sure to delete that one also.
EDIT (v5.2.0): Now if you want to clean all, you will also have to delete the two last lines added to your .bash_profile
. They look like:
# added by Anaconda3 5.2.0 installer
export PATH="/Users/ody/anaconda3/bin:$PATH"
5
Here is an official link to Anaconda for more information.
– n1k31t4
Nov 7 '17 at 9:39
2
rm -rf ~/anaconda2
is for Mac. For Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.
– abhilash sukumari
Dec 5 '17 at 11:50
I used this solution for anaconda3, and I observe there is an issue: former path declared in file .bash_profile or .bashrc have not been deleted, therefore when I reinstalled anaconda3 in a different folder and I tred to useconda
command.. it fails, sayingbash: /home/nathan/anaconda3/bin/conda: No such file or directory
– Nathan Ripert
Jan 14 '18 at 11:26
3
Out of curiosity, what does simplerm
leave that anaconda-clean --yes gets rid of?
– frank
Apr 10 '18 at 17:46
Also, conda 3 backs up your bash profile while installing, so you'll want to merge back in those changes. If you haven't modified your bash profile then you can just copy.
– Carlos Bribiescas
May 23 '18 at 16:17
|
show 1 more comment
To uninstall Anaconda open a terminal window and remove the entire anaconda install directory:
rm -rf ~/anaconda
Edit*:
~/.bash_profile
and remove the anaconda directory from your PATH
environment variable.
Remove the following hidden files and directories, which may have been created in the home directory:
.condarc
.conda
.continuum
Use:
rm -rf ~/.condarc ~/.conda ~/.continuum
You may need to edit .bashrc and/or .profile instead*
1
Note to newbies: may need to edit .bashrc and/or .profile instead
– frank
Apr 12 '18 at 23:20
add a comment |
- First, quit the Anaconda app.
- Then open the Activity Monitor select Anaconda and click to terminate.
- Remove Anaconda to Trash.
Find and remove Anaconds's service files:
~/Library/Receipts/io.continuum.pkg.anaconda-client.bom
~/Library/Receipts/io.continuum.pkg.anaconda-client.plist
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.bom
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.plist
~/Library/Receipts/io.continuum.pkg.anaconda-project.bom
~/Library/Receipts/io.continuum.pkg.anaconda-project.plist
~/Library/Receipts/io.continuum.pkg.anaconda.bom
~/Library/Receipts/io.continuum.pkg.anaconda.plist
- ~/anaconda3
- ~/.bash_profile-anaconda3.bak
- ~/.condarc ~/.conda
- ~/.anaconda
The last step is to empty the Trash folder.
Resource - Uninstall Anaconda on a Mac
add a comment |
Open the terminal and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3. Then remove conda with command "conda uninstall" https://conda.io/docs/commands/conda-uninstall.html.
When runningconda uninstall
I getCondaValueError: Value error: no package names supplied, try "conda remove -h" for more details
– Jordan Baron
Feb 12 '17 at 0:24
write echo $PATH in your terminal to check if there is some reference to anaconda, if there is use export PATH="/path/you/want/to/keep"
– Monika Bozhinova
Feb 12 '17 at 0:40
add a comment |
This is one more place that anaconda had an entry that was breaking my python install after removing Anaconda. Hoping this helps someone else.
If you are using yarn, I found this entry in my .yarn.rc file in ~/"username"
python "/Users/someone/anaconda3/bin/python3"
removing this line fixed one last place needed for complete removal. I am not sure how that entry was added but it helped
add a comment |
This has worked for me:
conda remove --all --prefix /Users/username/anaconda/bin/python
then also remove from $PATH in .bash_profile
1
This is a nice idea, but according to the documentation, this is meant for removal of conda environments. Here is the way Anaconda suggests: usinganaconda-clean
– n1k31t4
Nov 7 '17 at 9:36
add a comment |
Adding export PATH="/Users/<username>/anaconda/bin:$PATH"
(or export PATH="/Users/<username>/anaconda3/bin:$PATH"
if you have anaconda 3)
to my ~/.bash_profile file, fixed this issue for me.
add a comment |
After performing the very helpful suggestions from both spicyramen & jkysam without immediate success, a simple restart of my Mac was needed to make the system recognize the changes. Hope this helps someone!
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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
});
}
});
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%2fstackoverflow.com%2fquestions%2f42182706%2fhow-to-uninstall-anaconda-completely-from-macos%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
8 Answers
8
active
oldest
votes
8 Answers
8
active
oldest
votes
active
oldest
votes
active
oldest
votes
To remove the configs:
conda install anaconda-clean
anaconda-clean --yes
Once the configs are removed you can delete the anaconda install folder, which is usually under your home dir:
rm -rf ~/anaconda3
Also, the anaconda-clean --yes
command creates a backup in your home directory of the format ~/.anaconda_backup/<timestamp>
. Make sure to delete that one also.
EDIT (v5.2.0): Now if you want to clean all, you will also have to delete the two last lines added to your .bash_profile
. They look like:
# added by Anaconda3 5.2.0 installer
export PATH="/Users/ody/anaconda3/bin:$PATH"
5
Here is an official link to Anaconda for more information.
– n1k31t4
Nov 7 '17 at 9:39
2
rm -rf ~/anaconda2
is for Mac. For Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.
– abhilash sukumari
Dec 5 '17 at 11:50
I used this solution for anaconda3, and I observe there is an issue: former path declared in file .bash_profile or .bashrc have not been deleted, therefore when I reinstalled anaconda3 in a different folder and I tred to useconda
command.. it fails, sayingbash: /home/nathan/anaconda3/bin/conda: No such file or directory
– Nathan Ripert
Jan 14 '18 at 11:26
3
Out of curiosity, what does simplerm
leave that anaconda-clean --yes gets rid of?
– frank
Apr 10 '18 at 17:46
Also, conda 3 backs up your bash profile while installing, so you'll want to merge back in those changes. If you haven't modified your bash profile then you can just copy.
– Carlos Bribiescas
May 23 '18 at 16:17
|
show 1 more comment
To remove the configs:
conda install anaconda-clean
anaconda-clean --yes
Once the configs are removed you can delete the anaconda install folder, which is usually under your home dir:
rm -rf ~/anaconda3
Also, the anaconda-clean --yes
command creates a backup in your home directory of the format ~/.anaconda_backup/<timestamp>
. Make sure to delete that one also.
EDIT (v5.2.0): Now if you want to clean all, you will also have to delete the two last lines added to your .bash_profile
. They look like:
# added by Anaconda3 5.2.0 installer
export PATH="/Users/ody/anaconda3/bin:$PATH"
5
Here is an official link to Anaconda for more information.
– n1k31t4
Nov 7 '17 at 9:39
2
rm -rf ~/anaconda2
is for Mac. For Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.
– abhilash sukumari
Dec 5 '17 at 11:50
I used this solution for anaconda3, and I observe there is an issue: former path declared in file .bash_profile or .bashrc have not been deleted, therefore when I reinstalled anaconda3 in a different folder and I tred to useconda
command.. it fails, sayingbash: /home/nathan/anaconda3/bin/conda: No such file or directory
– Nathan Ripert
Jan 14 '18 at 11:26
3
Out of curiosity, what does simplerm
leave that anaconda-clean --yes gets rid of?
– frank
Apr 10 '18 at 17:46
Also, conda 3 backs up your bash profile while installing, so you'll want to merge back in those changes. If you haven't modified your bash profile then you can just copy.
– Carlos Bribiescas
May 23 '18 at 16:17
|
show 1 more comment
To remove the configs:
conda install anaconda-clean
anaconda-clean --yes
Once the configs are removed you can delete the anaconda install folder, which is usually under your home dir:
rm -rf ~/anaconda3
Also, the anaconda-clean --yes
command creates a backup in your home directory of the format ~/.anaconda_backup/<timestamp>
. Make sure to delete that one also.
EDIT (v5.2.0): Now if you want to clean all, you will also have to delete the two last lines added to your .bash_profile
. They look like:
# added by Anaconda3 5.2.0 installer
export PATH="/Users/ody/anaconda3/bin:$PATH"
To remove the configs:
conda install anaconda-clean
anaconda-clean --yes
Once the configs are removed you can delete the anaconda install folder, which is usually under your home dir:
rm -rf ~/anaconda3
Also, the anaconda-clean --yes
command creates a backup in your home directory of the format ~/.anaconda_backup/<timestamp>
. Make sure to delete that one also.
EDIT (v5.2.0): Now if you want to clean all, you will also have to delete the two last lines added to your .bash_profile
. They look like:
# added by Anaconda3 5.2.0 installer
export PATH="/Users/ody/anaconda3/bin:$PATH"
edited Dec 19 '18 at 22:02
HashRocketSyntax
561727
561727
answered Feb 12 '17 at 0:44
jkysamjkysam
2,96811515
2,96811515
5
Here is an official link to Anaconda for more information.
– n1k31t4
Nov 7 '17 at 9:39
2
rm -rf ~/anaconda2
is for Mac. For Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.
– abhilash sukumari
Dec 5 '17 at 11:50
I used this solution for anaconda3, and I observe there is an issue: former path declared in file .bash_profile or .bashrc have not been deleted, therefore when I reinstalled anaconda3 in a different folder and I tred to useconda
command.. it fails, sayingbash: /home/nathan/anaconda3/bin/conda: No such file or directory
– Nathan Ripert
Jan 14 '18 at 11:26
3
Out of curiosity, what does simplerm
leave that anaconda-clean --yes gets rid of?
– frank
Apr 10 '18 at 17:46
Also, conda 3 backs up your bash profile while installing, so you'll want to merge back in those changes. If you haven't modified your bash profile then you can just copy.
– Carlos Bribiescas
May 23 '18 at 16:17
|
show 1 more comment
5
Here is an official link to Anaconda for more information.
– n1k31t4
Nov 7 '17 at 9:39
2
rm -rf ~/anaconda2
is for Mac. For Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.
– abhilash sukumari
Dec 5 '17 at 11:50
I used this solution for anaconda3, and I observe there is an issue: former path declared in file .bash_profile or .bashrc have not been deleted, therefore when I reinstalled anaconda3 in a different folder and I tred to useconda
command.. it fails, sayingbash: /home/nathan/anaconda3/bin/conda: No such file or directory
– Nathan Ripert
Jan 14 '18 at 11:26
3
Out of curiosity, what does simplerm
leave that anaconda-clean --yes gets rid of?
– frank
Apr 10 '18 at 17:46
Also, conda 3 backs up your bash profile while installing, so you'll want to merge back in those changes. If you haven't modified your bash profile then you can just copy.
– Carlos Bribiescas
May 23 '18 at 16:17
5
5
Here is an official link to Anaconda for more information.
– n1k31t4
Nov 7 '17 at 9:39
Here is an official link to Anaconda for more information.
– n1k31t4
Nov 7 '17 at 9:39
2
2
rm -rf ~/anaconda2
is for Mac. For Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.– abhilash sukumari
Dec 5 '17 at 11:50
rm -rf ~/anaconda2
is for Mac. For Windows–In the Control Panel, choose Add or Remove Programs or Uninstall a program, and then select Python 3.6 (Anaconda) or your version of Python.– abhilash sukumari
Dec 5 '17 at 11:50
I used this solution for anaconda3, and I observe there is an issue: former path declared in file .bash_profile or .bashrc have not been deleted, therefore when I reinstalled anaconda3 in a different folder and I tred to use
conda
command.. it fails, saying bash: /home/nathan/anaconda3/bin/conda: No such file or directory
– Nathan Ripert
Jan 14 '18 at 11:26
I used this solution for anaconda3, and I observe there is an issue: former path declared in file .bash_profile or .bashrc have not been deleted, therefore when I reinstalled anaconda3 in a different folder and I tred to use
conda
command.. it fails, saying bash: /home/nathan/anaconda3/bin/conda: No such file or directory
– Nathan Ripert
Jan 14 '18 at 11:26
3
3
Out of curiosity, what does simple
rm
leave that anaconda-clean --yes gets rid of?– frank
Apr 10 '18 at 17:46
Out of curiosity, what does simple
rm
leave that anaconda-clean --yes gets rid of?– frank
Apr 10 '18 at 17:46
Also, conda 3 backs up your bash profile while installing, so you'll want to merge back in those changes. If you haven't modified your bash profile then you can just copy.
– Carlos Bribiescas
May 23 '18 at 16:17
Also, conda 3 backs up your bash profile while installing, so you'll want to merge back in those changes. If you haven't modified your bash profile then you can just copy.
– Carlos Bribiescas
May 23 '18 at 16:17
|
show 1 more comment
To uninstall Anaconda open a terminal window and remove the entire anaconda install directory:
rm -rf ~/anaconda
Edit*:
~/.bash_profile
and remove the anaconda directory from your PATH
environment variable.
Remove the following hidden files and directories, which may have been created in the home directory:
.condarc
.conda
.continuum
Use:
rm -rf ~/.condarc ~/.conda ~/.continuum
You may need to edit .bashrc and/or .profile instead*
1
Note to newbies: may need to edit .bashrc and/or .profile instead
– frank
Apr 12 '18 at 23:20
add a comment |
To uninstall Anaconda open a terminal window and remove the entire anaconda install directory:
rm -rf ~/anaconda
Edit*:
~/.bash_profile
and remove the anaconda directory from your PATH
environment variable.
Remove the following hidden files and directories, which may have been created in the home directory:
.condarc
.conda
.continuum
Use:
rm -rf ~/.condarc ~/.conda ~/.continuum
You may need to edit .bashrc and/or .profile instead*
1
Note to newbies: may need to edit .bashrc and/or .profile instead
– frank
Apr 12 '18 at 23:20
add a comment |
To uninstall Anaconda open a terminal window and remove the entire anaconda install directory:
rm -rf ~/anaconda
Edit*:
~/.bash_profile
and remove the anaconda directory from your PATH
environment variable.
Remove the following hidden files and directories, which may have been created in the home directory:
.condarc
.conda
.continuum
Use:
rm -rf ~/.condarc ~/.conda ~/.continuum
You may need to edit .bashrc and/or .profile instead*
To uninstall Anaconda open a terminal window and remove the entire anaconda install directory:
rm -rf ~/anaconda
Edit*:
~/.bash_profile
and remove the anaconda directory from your PATH
environment variable.
Remove the following hidden files and directories, which may have been created in the home directory:
.condarc
.conda
.continuum
Use:
rm -rf ~/.condarc ~/.conda ~/.continuum
You may need to edit .bashrc and/or .profile instead*
edited Jan 20 at 6:38
answered Jun 15 '17 at 15:29
spicyramenspicyramen
3,30023569
3,30023569
1
Note to newbies: may need to edit .bashrc and/or .profile instead
– frank
Apr 12 '18 at 23:20
add a comment |
1
Note to newbies: may need to edit .bashrc and/or .profile instead
– frank
Apr 12 '18 at 23:20
1
1
Note to newbies: may need to edit .bashrc and/or .profile instead
– frank
Apr 12 '18 at 23:20
Note to newbies: may need to edit .bashrc and/or .profile instead
– frank
Apr 12 '18 at 23:20
add a comment |
- First, quit the Anaconda app.
- Then open the Activity Monitor select Anaconda and click to terminate.
- Remove Anaconda to Trash.
Find and remove Anaconds's service files:
~/Library/Receipts/io.continuum.pkg.anaconda-client.bom
~/Library/Receipts/io.continuum.pkg.anaconda-client.plist
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.bom
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.plist
~/Library/Receipts/io.continuum.pkg.anaconda-project.bom
~/Library/Receipts/io.continuum.pkg.anaconda-project.plist
~/Library/Receipts/io.continuum.pkg.anaconda.bom
~/Library/Receipts/io.continuum.pkg.anaconda.plist
- ~/anaconda3
- ~/.bash_profile-anaconda3.bak
- ~/.condarc ~/.conda
- ~/.anaconda
The last step is to empty the Trash folder.
Resource - Uninstall Anaconda on a Mac
add a comment |
- First, quit the Anaconda app.
- Then open the Activity Monitor select Anaconda and click to terminate.
- Remove Anaconda to Trash.
Find and remove Anaconds's service files:
~/Library/Receipts/io.continuum.pkg.anaconda-client.bom
~/Library/Receipts/io.continuum.pkg.anaconda-client.plist
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.bom
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.plist
~/Library/Receipts/io.continuum.pkg.anaconda-project.bom
~/Library/Receipts/io.continuum.pkg.anaconda-project.plist
~/Library/Receipts/io.continuum.pkg.anaconda.bom
~/Library/Receipts/io.continuum.pkg.anaconda.plist
- ~/anaconda3
- ~/.bash_profile-anaconda3.bak
- ~/.condarc ~/.conda
- ~/.anaconda
The last step is to empty the Trash folder.
Resource - Uninstall Anaconda on a Mac
add a comment |
- First, quit the Anaconda app.
- Then open the Activity Monitor select Anaconda and click to terminate.
- Remove Anaconda to Trash.
Find and remove Anaconds's service files:
~/Library/Receipts/io.continuum.pkg.anaconda-client.bom
~/Library/Receipts/io.continuum.pkg.anaconda-client.plist
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.bom
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.plist
~/Library/Receipts/io.continuum.pkg.anaconda-project.bom
~/Library/Receipts/io.continuum.pkg.anaconda-project.plist
~/Library/Receipts/io.continuum.pkg.anaconda.bom
~/Library/Receipts/io.continuum.pkg.anaconda.plist
- ~/anaconda3
- ~/.bash_profile-anaconda3.bak
- ~/.condarc ~/.conda
- ~/.anaconda
The last step is to empty the Trash folder.
Resource - Uninstall Anaconda on a Mac
- First, quit the Anaconda app.
- Then open the Activity Monitor select Anaconda and click to terminate.
- Remove Anaconda to Trash.
Find and remove Anaconds's service files:
~/Library/Receipts/io.continuum.pkg.anaconda-client.bom
~/Library/Receipts/io.continuum.pkg.anaconda-client.plist
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.bom
~/Library/Receipts/io.continuum.pkg.anaconda-navigator.plist
~/Library/Receipts/io.continuum.pkg.anaconda-project.bom
~/Library/Receipts/io.continuum.pkg.anaconda-project.plist
~/Library/Receipts/io.continuum.pkg.anaconda.bom
~/Library/Receipts/io.continuum.pkg.anaconda.plist
- ~/anaconda3
- ~/.bash_profile-anaconda3.bak
- ~/.condarc ~/.conda
- ~/.anaconda
The last step is to empty the Trash folder.
Resource - Uninstall Anaconda on a Mac
answered May 9 '18 at 14:06
AsyaAsya
411
411
add a comment |
add a comment |
Open the terminal and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3. Then remove conda with command "conda uninstall" https://conda.io/docs/commands/conda-uninstall.html.
When runningconda uninstall
I getCondaValueError: Value error: no package names supplied, try "conda remove -h" for more details
– Jordan Baron
Feb 12 '17 at 0:24
write echo $PATH in your terminal to check if there is some reference to anaconda, if there is use export PATH="/path/you/want/to/keep"
– Monika Bozhinova
Feb 12 '17 at 0:40
add a comment |
Open the terminal and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3. Then remove conda with command "conda uninstall" https://conda.io/docs/commands/conda-uninstall.html.
When runningconda uninstall
I getCondaValueError: Value error: no package names supplied, try "conda remove -h" for more details
– Jordan Baron
Feb 12 '17 at 0:24
write echo $PATH in your terminal to check if there is some reference to anaconda, if there is use export PATH="/path/you/want/to/keep"
– Monika Bozhinova
Feb 12 '17 at 0:40
add a comment |
Open the terminal and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3. Then remove conda with command "conda uninstall" https://conda.io/docs/commands/conda-uninstall.html.
Open the terminal and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3. Then remove conda with command "conda uninstall" https://conda.io/docs/commands/conda-uninstall.html.
answered Feb 12 '17 at 0:10
Monika BozhinovaMonika Bozhinova
202314
202314
When runningconda uninstall
I getCondaValueError: Value error: no package names supplied, try "conda remove -h" for more details
– Jordan Baron
Feb 12 '17 at 0:24
write echo $PATH in your terminal to check if there is some reference to anaconda, if there is use export PATH="/path/you/want/to/keep"
– Monika Bozhinova
Feb 12 '17 at 0:40
add a comment |
When runningconda uninstall
I getCondaValueError: Value error: no package names supplied, try "conda remove -h" for more details
– Jordan Baron
Feb 12 '17 at 0:24
write echo $PATH in your terminal to check if there is some reference to anaconda, if there is use export PATH="/path/you/want/to/keep"
– Monika Bozhinova
Feb 12 '17 at 0:40
When running
conda uninstall
I get CondaValueError: Value error: no package names supplied, try "conda remove -h" for more details
– Jordan Baron
Feb 12 '17 at 0:24
When running
conda uninstall
I get CondaValueError: Value error: no package names supplied, try "conda remove -h" for more details
– Jordan Baron
Feb 12 '17 at 0:24
write echo $PATH in your terminal to check if there is some reference to anaconda, if there is use export PATH="/path/you/want/to/keep"
– Monika Bozhinova
Feb 12 '17 at 0:40
write echo $PATH in your terminal to check if there is some reference to anaconda, if there is use export PATH="/path/you/want/to/keep"
– Monika Bozhinova
Feb 12 '17 at 0:40
add a comment |
This is one more place that anaconda had an entry that was breaking my python install after removing Anaconda. Hoping this helps someone else.
If you are using yarn, I found this entry in my .yarn.rc file in ~/"username"
python "/Users/someone/anaconda3/bin/python3"
removing this line fixed one last place needed for complete removal. I am not sure how that entry was added but it helped
add a comment |
This is one more place that anaconda had an entry that was breaking my python install after removing Anaconda. Hoping this helps someone else.
If you are using yarn, I found this entry in my .yarn.rc file in ~/"username"
python "/Users/someone/anaconda3/bin/python3"
removing this line fixed one last place needed for complete removal. I am not sure how that entry was added but it helped
add a comment |
This is one more place that anaconda had an entry that was breaking my python install after removing Anaconda. Hoping this helps someone else.
If you are using yarn, I found this entry in my .yarn.rc file in ~/"username"
python "/Users/someone/anaconda3/bin/python3"
removing this line fixed one last place needed for complete removal. I am not sure how that entry was added but it helped
This is one more place that anaconda had an entry that was breaking my python install after removing Anaconda. Hoping this helps someone else.
If you are using yarn, I found this entry in my .yarn.rc file in ~/"username"
python "/Users/someone/anaconda3/bin/python3"
removing this line fixed one last place needed for complete removal. I am not sure how that entry was added but it helped
answered Mar 7 '18 at 16:31
jstamisjstamis
461
461
add a comment |
add a comment |
This has worked for me:
conda remove --all --prefix /Users/username/anaconda/bin/python
then also remove from $PATH in .bash_profile
1
This is a nice idea, but according to the documentation, this is meant for removal of conda environments. Here is the way Anaconda suggests: usinganaconda-clean
– n1k31t4
Nov 7 '17 at 9:36
add a comment |
This has worked for me:
conda remove --all --prefix /Users/username/anaconda/bin/python
then also remove from $PATH in .bash_profile
1
This is a nice idea, but according to the documentation, this is meant for removal of conda environments. Here is the way Anaconda suggests: usinganaconda-clean
– n1k31t4
Nov 7 '17 at 9:36
add a comment |
This has worked for me:
conda remove --all --prefix /Users/username/anaconda/bin/python
then also remove from $PATH in .bash_profile
This has worked for me:
conda remove --all --prefix /Users/username/anaconda/bin/python
then also remove from $PATH in .bash_profile
edited Oct 27 '17 at 23:09
answered Oct 27 '17 at 23:00
localhostlocalhost
12
12
1
This is a nice idea, but according to the documentation, this is meant for removal of conda environments. Here is the way Anaconda suggests: usinganaconda-clean
– n1k31t4
Nov 7 '17 at 9:36
add a comment |
1
This is a nice idea, but according to the documentation, this is meant for removal of conda environments. Here is the way Anaconda suggests: usinganaconda-clean
– n1k31t4
Nov 7 '17 at 9:36
1
1
This is a nice idea, but according to the documentation, this is meant for removal of conda environments. Here is the way Anaconda suggests: using
anaconda-clean
– n1k31t4
Nov 7 '17 at 9:36
This is a nice idea, but according to the documentation, this is meant for removal of conda environments. Here is the way Anaconda suggests: using
anaconda-clean
– n1k31t4
Nov 7 '17 at 9:36
add a comment |
Adding export PATH="/Users/<username>/anaconda/bin:$PATH"
(or export PATH="/Users/<username>/anaconda3/bin:$PATH"
if you have anaconda 3)
to my ~/.bash_profile file, fixed this issue for me.
add a comment |
Adding export PATH="/Users/<username>/anaconda/bin:$PATH"
(or export PATH="/Users/<username>/anaconda3/bin:$PATH"
if you have anaconda 3)
to my ~/.bash_profile file, fixed this issue for me.
add a comment |
Adding export PATH="/Users/<username>/anaconda/bin:$PATH"
(or export PATH="/Users/<username>/anaconda3/bin:$PATH"
if you have anaconda 3)
to my ~/.bash_profile file, fixed this issue for me.
Adding export PATH="/Users/<username>/anaconda/bin:$PATH"
(or export PATH="/Users/<username>/anaconda3/bin:$PATH"
if you have anaconda 3)
to my ~/.bash_profile file, fixed this issue for me.
answered Jun 7 '18 at 16:09
StOchastiC_StOchastiC_
737
737
add a comment |
add a comment |
After performing the very helpful suggestions from both spicyramen & jkysam without immediate success, a simple restart of my Mac was needed to make the system recognize the changes. Hope this helps someone!
add a comment |
After performing the very helpful suggestions from both spicyramen & jkysam without immediate success, a simple restart of my Mac was needed to make the system recognize the changes. Hope this helps someone!
add a comment |
After performing the very helpful suggestions from both spicyramen & jkysam without immediate success, a simple restart of my Mac was needed to make the system recognize the changes. Hope this helps someone!
After performing the very helpful suggestions from both spicyramen & jkysam without immediate success, a simple restart of my Mac was needed to make the system recognize the changes. Hope this helps someone!
answered Aug 21 '18 at 7:51
riotriot
13726
13726
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f42182706%2fhow-to-uninstall-anaconda-completely-from-macos%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
is there an analogous post for Ubuntu?
– frank
Apr 12 '18 at 23:21
@frank doesn't the accepted answer work for Ubuntu as well?
– Ulysse BN
Jun 19 '18 at 14:58
Possible duplicate of Python Anaconda - How to Safely Uninstall
– vaer-k
Dec 14 '18 at 17:34
haha no way you went to an almost 2 year old post to mark it as duplicate
– Jordan Baron
Jan 11 at 0:21