I am using pyenv
for managing python installation in my system. Using pyenv
I have installed python3.11.9
and set it as default with pyenv global 3.11.9
, I have also added recommended commands by pyenv
in my .zshrc
file such that my system treats python 3.11.9 as default python.
Now, when I install pipx
using brew install pipx
, it also installs python3.12
. And any installation done with pipx
then uses python3.12
instead of system default 3.11.9
.
How can I ensure that when I do brew install pipx
, it installs using the default python version instead of downloading the latest python version.