If you're using Miniconda / Anaconda and want to switch Python versions, do like:
conda create -n py37 python=3.7To switch to Python 3.7 (or whatever environment you create) do in each terminal:
conda activate py37and then run the desired commands. Note you'd need to again do:
python -m pip install -e .to activate this program in the environment (one time).