Homebrew supported use of pyenv and Python is what? #2138
Replies: 1 comment 7 replies
-
Either should work.
Yes. Note that packages in Homebrew that depend on Python will always use Homebrew's version of Python. So you may end up with both copies on your machine anyways. Generally speaking - if you're depending on the version of Python you install to not change until you want it to (e.g. for development purposes), I would advise against using Homebrew Python. It exists more to serve Homebrew/Homebrew packages that need it, and provide a REPL/sandbox once in a while. See also - Homebrew Python is not for you. |
Beta Was this translation helpful? Give feedback.
-
A lot of stuff out there (mostly older possibly outdated information) on how to use
pyenv
to manage Python on macOS.pyenv
states it's a breeze to install via Homebrew, but how does Homebrew expect users to install Python, usingbrew install python
or usingpyenv install python 3.9.7
?If we choose
pyenv
as the installer for Python will Homebrew work dependably?Looking at the upcoming changes to Python 3.12, it seems safer to use
pyenv
to install Python versions.I have spent about 5 hours on this so giving up and hoping for some help.
Beta Was this translation helpful? Give feedback.
All reactions