On my Mac M1 the system python is 3.9.12 at the path /opt/homebrew/bin/python3. I have installed Python 3.10.6 through asdf.
In the home folder the .tool-versions file looks like,
...
python system
And in my python projects folder the .tool-versions file looks like,
python 3.10.6
Till yesterday when I ran python --version outside of python projects folder it reported 3.9.12 (system's python) and when I ran it inside the python projects folder it reported 3.10.6 (asdf's python). Today it reports the 3.10.6 both inside and outside of the python project's folder, and that's not the expected behavior.
On my Mac M1 the system python is
3.9.12
at the path/opt/homebrew/bin/python3
. I have installed Python3.10.6
through asdf.In the home folder the
.tool-versions
file looks like,And in my python projects folder the
.tool-versions
file looks like,Till yesterday when I ran
python --version
outside of python projects folder it reported3.9.12
(system's python) and when I ran it inside the python projects folder it reported3.10.6
(asdf's python). Today it reports the3.10.6
both inside and outside of the python project's folder, and that's not the expected behavior.