Closed todd-dsm closed 8 months ago
brew install python
will currently install 3.11 as you noticed.
brew install python@3.12
will install 3.12.
It seems like your system is working correctly.
in this case, there was a brew install ansible
that brought a python dependency with it.
That dependency was installed as python@3.12
. Afterwards, the brew info python
command displays that python@3.11
is installed.
I'm not sure why this would be working as designed. Please advise.
Because Ansible depends on Python 3.12 and the unversioned Python install that you checked is 3.11.
Weird, I'd think homebrew would report on whatever was currently installed, as other package managers would; for example:
# dnf install neovim
Last metadata expiration check: 0:02:37 ago on Fri Feb 16 22:01:55 2024.
Dependencies resolved.
===================================================================================================================================================================================================
Package Architecture Version Repository Size
===================================================================================================================================================================================================
Installing:
neovim aarch64 0.9.5-1.fc39 updates
...
Then, to check on that later:
# rpm -qa neovim
neovim-0.9.5-1.fc39.aarch64
Would be the general expectation.
Is there a method for asking homebrew ONLY about what's installed? (not what's available)
brew ls
will list what is installed. brew info python
would also tell you if it was installed.
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputSystem Info