sammy
sammy

Reputation: 437

Anaconda prompt and conda command not working

I was installing rdkit package from https://www.rdkit.org/docs/GettingStartedInPython.html with conda command.

However, there were some errors and it started to rollback. While doing so, I terminated the command.

After that, the conda command seemed to not work at all.

C:\Users\user>where conda
INFO: Could not find files for the given pattern(s).
C:\Users\user>conda --version
'conda' is not recognized as an internal or external command,
operable program or batch file.

This is my C:\Users\uesr\Anaconda3\Scripts

This pic is my C:\Users\uesr\Anaconda3\Scripts

I've added anaconda and anaconda\scripts location to my path, so it's not a path problem.

I'm using windows10

Reinstalling anaconda would be the best solution?

Upvotes: 2

Views: 12946

Answers (3)

Yogendra Shinde
Yogendra Shinde

Reputation: 9

This generally happens as Path is not set.

My Anaconda is places here My Path of Anaconda

You need to go to Control Panel\System and Security\System\Advanced system settings & then ‘Environment Variables’ and add your Path of Ananconda

Pic2

Click on 'Environment Variables'

Pic3

Upvotes: 1

Pavan kumar
Pavan kumar

Reputation: 515

first delete the path and uninstall anaconda

then again reinstall it then again add path in system environment variable you can find image here then press ok in all windows

Upvotes: 1

Vinay Kumar
Vinay Kumar

Reputation: 300

If you can please do that, Few months back similar issue was faced by me too. I looked a lot for solutions of this issue, found many, some of them worked too but the problem reappeared after installing some other package. Best solution will be to reinstall anaconda. If not willing to do so, then do comment, I'll provide you with the solution, but I won't be able to assure you that it will solve the issue permanently.

Upvotes: 1

Related Questions