Skip to content Skip to sidebar Skip to footer

Conda Not Working Correctly With Fish Shell

When using conda environments inside the fish shell on macOS, python still points to system python (/usr/local/bin/python) instead of pointing to the version of python installed by

Solution 1:

python doesn't point to where it should

Quite simply, that means that there is a path component that includes a python before the one you want. In this case /usr/local/bin is before /envs//bin/ in $PATH (if it's in there at all).

See command -sa python, which should print all pythons it can, and adjust your $PATH accordingly, possibly by putting the one you want into $fish_user_paths, which is prepended to $PATH.

Post a Comment for "Conda Not Working Correctly With Fish Shell"