Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 955
Dave31415 Avatar asked Mar 16 '15 23:03

Dave31415


People also ask

What is Anaconda distribution of Python?

Anaconda is a distribution of the Python and R programming languages for scientific computing (data science, machine learning applications, large-scale data processing, predictive analytics, etc.), that aims to simplify package management and deployment.

Should I use Anaconda distribution?

If you typically just use the core data science tools and are not concerned with having some extra libraries installed that you don't use, Anaconda can be a great choice, since it leads to a simpler workflow for your needs and preferences.

How to fix pyhton has stopped working in Anaconda?

On opening Ananconda Navigator, it showed Initializing... and then 'Pyhton has stopped working'. Solution: Instead of Anaconda Navigator, Open Anaconda Prompt and in the command window type 'spyder'. Wait a few seconds and spyder will get launched. Copy link.

How to run Python code from VSC using Anaconda?

This code will run the Windows Command Prompt with the Anaconda tools available so that you can run the Python code directly from VSC. Right-click on the Python file you want to run in the VSC file explorer panel and select “Run Python File in Terminal”.

How to remove Anaconda from PC?

Since Anaconda is not the virus or malware, this task is not so hard, as it may seem. For sure, we have multiple ways to uninstall software, and we may go with such methods as default Windows removal options, third-party uninstallers, native installer/uninstaller, and manual removal. Method 1. Windows tools.

How do I find the Python interpreter for my Anaconda installation?

Now click on “Enter Interpreter Path” then click on “Find”. This will open a File Explorer window where you can navigate to the location of the Python interpreter for another Anaconda environment. Navigate to the location of your Anaconda installation (C:\Users\your-user-name\anaconda3). For the base Anaconda installation, select “python.exe”.


1 Answers

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.

like image 158
asmeurer Avatar answered Sep 22 '22 20:09

asmeurer