When trying to use any hg Mercurial commands on the console, I keep getting this error. I installed Python using Homebrew and I am running Mac OS Catalina v. 1
hg
On macOS Mojave (10.14.6), this worked for me:
/usr/local/bin/python
/usr/local/bin/pip
python
pip