44 ms·
> knowing it only has python 3.9 at the moment. Is incorrect, they just move older versions to their "@" nomenclature, for example https://formulae.brew.sh/for
by mdaniel 5y ago
> knowing it only has python 3.9 at the moment.
Is incorrect, they just move older versions to their "@" nomenclature, for example https://formulae.brew.sh/formula/python@3.7 https://formulae.brew.sh/formula/python@3.7
- rbanffy 5y agoInteresting. Thank you for correcting me. Can you install multiple versions this way? My colleagues are suffering with that and I'd prefer not to move them from Homebrew if avoidable.
- mdaniel 5y agoFor sure, yes, they're distinctly named formulae and thus subject to their own install, remove, and version bump lifecycle management IIRC the trick is that the "at" versions don't get "brew link"-ed by default, since they'd almost certainly smash on top of the non-at binaries or manpages or whatever. Using `PATH=$(brew --prefix "python@3.7")/bin:$PATH` or ones favorite context switching gizmo will help, or (with the python ones specifically) using `$(brew --prefix "python@3.7")/bin/python -m venv ...` is a great way to avoid having a lot of special env-var silliness