One of the problems I recently faced when I started exploring Anaconda Navigator, was that it comes with its own Python environment.
I was using Sublime Text and had my Python environment stable with all needed libraries. Once Anaconda is installed, all my old projects on Sublime reported missing libraries.
I found that the common practice is to force Sublime to use Anaconda environment, which was exactly the opposite of what I needed. I needed Anaconda to use previously existing Python environment.
To do so, I had to comment all Anaconda added lines in .bash_profile file. Open it in the terminal via (open -e .bash_profile) and comment all Anaconda lines and viola.
# >>> conda initialize >>> | |
# !! Contents within this block are managed by 'conda init' !! | |
__conda_setup="$('/Users/Patchivic/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | |
__conda_setup="$('/Users/Patchivic/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | |
if [ $? -eq 0 ]; then | |
eval "$__conda_setup" | |
else | |
if [ -f "/Users/Patchivic/opt/anaconda3/etc/profile.d/conda.sh" ]; then | |
. "/Users/Patchivic/opt/anaconda3/etc/profile.d/conda.sh" | |
else | |
export PATH="/Users/Patchivic/opt/anaconda3/bin:$PATH" | |
fi | |
fi | |
unset __conda_setup | |
# <<< conda initialize <<< |