Is it possible to have 2 different versions of python with different architecture on M1 macbook with tools like pyenv
?
For instance, I would like to have 3.9.1
on ARM and 3.8.5
on x86 (via rosetta).
I have pyenv
installed already with a new homebrew 3.0.0
. Having that, I am able to install 3.9.1 for ARM (pyenv install 3.9.1
). Can I now have another version which would be through rosetta?
Here is a solution that does just that. I hope it's still useful.
Quick summary: