You are getting this error because of the absence of the location that pip is installed from your PATH.
You need add:
export PATH="$PATH:/Library/Frameworks/Python.framework/Versions/3.8/bin"
to the end of your .bash_profile, like @hoefling commented.