Categories
python python-2.7 python-3.x terminal visual-studio-code

Error: No similarly named formulae found. Error: No available formula or cask with the name “python”

So, I’m using macOS Big Sur. So I typed:

python –version

Python 2.7.16

brew install python

I got this error message when I want to update my python via my terminal.

Error: No similarly named formulae found.
Error: No available formula or cask with the name "python".
It was migrated from homebrew/cask to homebrew/core.

I would like to update it to Python 3, so when I run my commands on VSC. I can just type python instead of python3. What does this error message mean?