If I type which python I get no output and I have no success using Miniconda as default Python. I did set paths to ${HOME}/.profile but no success.
Here is my ${HOME}/.profile
The last line is mine. What am I doing wrong?
My goal is to point to Miniconda3 by default.
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
export PATH="$PATH:/usr/bin/python3.6:/data/ubuntu/miniconda3/bin"
EDIT: /usr/bin/python3.6 is a valid path, I installed python 3.6 and miniconda3.