I am aware that this kind of question has been asked many times. I even found out this almost identical issue: How to use pip3 for python 3.6 instead of python 3.5? But I still yet get my problem solved. I am using os x.
I have three versions of pythons: 2.7, 3.6 and 3.7.
python --version
Python 2.7.10
python3 --version
Python 3.7.4
but if I do
pip3 --version
pip 9.0.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (python 3.6)
I do not know why pip3 is pointed to 3.6 not 3.7 (while python3 gives me 3.7)
if I do
python3
import site; site.getsitepackages()
I have
['/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages']
PIP3 pointed to python 3.6 instead of 3.7. How do I make it point to python 3.7?
I try add python3 to the path but to no avail. I do not want to uninstall python 3.6.