Dave31415
Dave31415

Reputation: 2956

How do I fix my anaconda python distribution?

All seemed to be working fine in my anaconda distribution on Mac. Then I tried to install the postgres library psycopg2 with conda install psycopg2. That threw an error. Something about permissions. But now nothing works. Now it can't even find the conda executable or start ipython. -bash: conda: command not found Should condo executable be in ~/ananconda/bin. The directory is there but no conda executable.

Anyone know what might have happened or how I can recover from this?

Upvotes: 9

Views: 17534

Answers (3)

anand
anand

Reputation: 1

This solved my problem. Download latest miniconda and use correct paths for preinstalled anaconda folder

bash ~/Miniconda2-latest-Linux-x86_64.sh -bfp ~/anaconda2

I couldn't find the original thread where I found this.

Upvotes: 0

tsar
tsar

Reputation: 11

I had a similar problem - was able to use conda from an anaconda prompt (found in the anaconda folder) and install packages I needed

Upvotes: -1

asmeurer
asmeurer

Reputation: 91580

You're going to have to reinstall Anaconda to fix this. Without conda, there's not much you can do to clean up the broken install.

Upvotes: 5

Related Questions