pip3 is pointing to the wrong version of python

The best option is to use python3 -m pip to run pip with a specific python version.

The full docs on this are here: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/