I installed pip3 using "brew install python3" on mac.
brew install python3
Warning: python@3.9 3.9.2_1 is already installed and up-to-date.
To reinstall 3.9.2_1, run:
brew reinstall python@3.9
python3 --version
returns, Python 3.8.2
I dont know how to change it to point to version 3.9.2 the latest version.
Now, I have the following in requirements.txt,
sklearn
pandas
pip3 install -r requirements.txt
Gives the following error.
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/usr/bin/pip3", line 6, in <module>
from pip._internal import main
ModuleNotFoundError: No module named 'pip'
Am new to python and not sure how to fix it.