pip command not found windows 10 code example
Example 1: pip not found after installation
#for pip, and not pip3:
sudo apt-get install python-pip
Example 2: python pip not working
Correct command:
python -m pip install modulename
Alternative(if it doesn't work):
py.exe -m pip install modulename
Example 3: pip not found
python -m ensurepip
##possibly the best way to autmatically install pip, if it is not found
Example 4: pip install doesn't work
If youre in windows, try:
python -m pip install <lib>