Amait
Amait

Reputation: 134

"Conda" and "source activate" no longer work

I had conda (Miniconda2) working in the past 3 months, along side Anaconda and many Python libraries. I use Mac OS X El Capitan 10.11.6, suddenly after attempting to install openCV for python, neither conda nor source activate (for environments) are recognized by my terminal ...

message appear in terminal when calling "conda" (e.g. conda --help, conda --version, ...etc)

-bash: conda: command not found

message appear for source activate envNAME

-bash: activate: No such file or directory

when typing $PATH

-bash: /Users/USERNAME/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/Users/USERNAME/miniconda2/bin:/Users/USERNAME/miniconda2/bin:/Users/USERNAME/miniconda2/bin: No such file or directory

its after this link things stopped working.

Upvotes: 0

Views: 1670

Answers (2)

steve_m
steve_m

Reputation: 26

At the end of your PATH there is this line:

/Users/USERNAME/miniconda2/bin: No such file or directory

Have you done any follow up on this?

I had a similar issue but I am on linux. Reinstalling worked, but conda is a huge package so that's not a good way to do things when something is obviously broken.

In my case I had some other program overwriting some things on PATH!

Upvotes: 1

Amait
Amait

Reputation: 134

seemed to work after unistalling then installing Anaconda again

Upvotes: 0

Related Questions