The sam alias defined in bash_aliases uses the python defined in the venv, whether that's necessary or not. This works fine for most commands, except create-venv, since the venv's python is not available and the command fails.
This PR tries to use the python defined in the venv, and if it doesn't exist it falls back on the system python.
The
sam
alias defined inbash_aliases
uses thepython
defined in the venv, whether that's necessary or not. This works fine for most commands, exceptcreate-venv
, since the venv'spython
is not available and the command fails.This PR tries to use the
python
defined in the venv, and if it doesn't exist it falls back on the systempython
.