How do I get Ubuntu to use Anaconda's python instead of the standard /usr/lib/python...?
Solution 1:
The tilde (~
) character is not expanded when enclosed in quotes (even double quotes, which allow most other filename expansions). You should replace ~
by $HOME
in the PATH export:
export PATH="/usr/local/texlive/2014/bin/x86_64-linux:$PATH"
export PATH="$HOME/anaconda/bin:$PATH"
Solution 2:
I faced the same issue. Tried this and it works for me
source bin/activate ~/anaconda3/