As explained in title.
Things I've already tried out that didn't work:
pip install --upgrade pip
brew postinstall python@3.7
wget https://bootstrap.pypa.io/get-pip.py
, followed bysudo python3.7 get-pip.py
(the second command doesn't work)
Consulted articles: How to install PIP on Python 3.6?, more
so far, I've been running whatever I've pip installed in a file that contains python packages by running python [filename.py], rather than python3. So it works fine right now but I want to use python3, since python 2.7 is deprecated anyway