Ubuntu Command 'pip' not found, but there are 18 similar ones

Short answer: Try running python3 -m pip install -e .


Some explanations:

The different versions of Python are not surprising. WSL is, effectively, an ultra-lightweight virtual machine. Your Windows python installation is entirely independent of the WSL python installation.

Python has two widely used major versions, Python 2 and Python 3. The command python runs some minor version of Python 2, while the command python3 runs some minor version of Python 3. Below is my console output.

lawruble@Balrog:~/scratch$ python --version
Python 2.7.18
lawruble@Balrog:~/scratch$ python3 --version
Python 3.8.5

Pip is the python installation manager, and has the same major versions as Python. The command pip runs the Python 2 version of pip, while pip3 runs the Python 3 version of pip.

It's better practice to use python3 -m pip over pip3, it helps ensure that you're using the version of pip associated with the version of python you expect to run.


Trying doing these first/again

  1. Updating package info
sudo apt-get update
  1. Downloading all upgrades
sudo apt-get upgrade
  1. Reinstalling pip
sudo apt-get install python3-pip

Clearly the issue's with terminal, i.e. not recognizing the command so maybe pip isn't installed properly, but with what you've shown so far I don't think this issue should arise. Anyways give it a try.

Also

What are you trying to install? pip is for python packages right.