Recently I updated Python version Python 3.9.14 from Python3.6.
I am running django project, so while running it and also while installing any dependencies, getting this error message - ModuleNotFoundError: No module named 'pip._internal'
How to solve this.
Getting the below error for pip3 version
:
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 5, in <module>
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal'
I tried python3 -m pip3 install --upgrade pip3
, but I got:
/usr/bin/python3: No module named pip
/usr/bin/python3: No module named pip3
Thank you