My default python interpreter has been set to conda's base environment python interpreter. I would want my default /usr/bin/python3
to be the default.
I've looked at this question which suggests that changing the ordering in PATH would work. However I'm a fish user, so the task becomes a bit more tedious.
Just changing the PATH environment variable using set -U PATH <my path>
doesn't work probably because of the following section in my config.fish
# >>> conda initialize >>># !! Contents within this block are managed by 'conda init' !!if test -f /home/cmaspi/miniconda3/bin/conda eval /home/cmaspi/miniconda3/bin/conda "shell.fish" "hook" $argv | sourceend# <<< conda initialize <<<
Here conda "shell.fish" "hook"
is probably the culprit that changes PATH, but I'm not sure. How do I change the path such that my good old /usr/bin/python3
becomes my default?