I accidentally installed the Python Anaconda distribution in two different places: my home directory and my hard drive. Since I first installed it on my hard drive, python packages were installed there, not in my home directory. Then I retired to the anaconda folder on my hard drive. But now, when I try to run conda to install the package through my terminal, I get the following error.
-bash:
How can I switch it so that conda works and installs packages in my home directory?
I made a team
echo $PATH
and he gave me
//anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin.
In addition, I did
which -a conda
and nothing appeared. I literally just bought a Macbook Air and in Yosemite.
source
share