I have tried to install anaconda navigator and after each install I get the prompt:
Traceback (most recent call last):
File “C:\Users\User\anaconda3\Scripts\conda-script.py”, line 11, in
from conda.cli import main
ModuleNotFoundError: No module named ‘conda’
I have added anaconda to my path, but it doesn’t still work.
Thanks for reaching out, It seems that something went bad in the installation process, let’s try a reinstallation but with a full cleaning process this time:
A full uninstall removes all traces of the configuration files and directories from Anaconda and its programs with the anaconda-clean program (skip this and go to the Simple remove instructions if you can’t do this).
- In Windows, open Anaconda Prompt. In Mac or Linux, open your terminal application.
- Install the anaconda-clean package:
conda install anaconda-clean
- Then, run anaconda-clean. Run the command by itself to remove all Anaconda-related files and directories with a confirmation prompt before deleting each one, or use the --yes argument to remove all those files and directories without being asked to confirm each one.
If you want to confirm each file and directory you are deleting
anaconda-clean
If you don’t want to be asked about each file and directory
anaconda-clean --yes
anaconda-clean creates a backup of all files and directories that might be removed in a folder named .anaconda_backup in your home directory. Also note that anaconda-clean leaves your data files in the AnacondaProjects directory untouched.
Simple remove
- After using anaconda-clean, follow the instructions in Simple remove to finish uninstalling Anaconda Distribution.
- Open the file explorer.
- Delete your anaconda3 folder in your user folder.
- Open Add or remove programs and uninstall your Anaconda installation or your version of Python and delete the .condarc file in your user folder.
After that you can reinstall Anaconda again and the problem should be fixed, let us know if it worked, we are eager to help.