How to fix How to fix 'pip3: command not found' in Python in Python

PythonINTERMEDIATEMEDIUMUpdated Dec 7, 2025ยท 103 views

This error indicates pip3 is not installed or not in your system PATH. pip3 is used for Python 3 package management.

Quick fix

Fixes How to fix 'pip3: command not found' in Python

  1. Verify the root cause
  2. Apply the appropriate fix
  3. Retry the installation
python โ€” error
# How to fix 'pip3: command not found' in Python

What this error means

pip3 is the package manager for Python 3. Unlike pip (which can point to Python 2 or 3), pip3 explicitly targets Python 3. When the system cannot find pip3, it means either Python 3 was installed without pip, or pip3 is not in the executable PATH.

Typical symptoms

  • Typing 'pip3 install' returns 'command not found'
  • Python 3 is installed but pip3 is not available
  • 'which pip3' returns nothing
  • pip works but pip3 does not
  • Fresh Python 3 installation lacks pip3
  • 'python3 -m pip' works as a workaround
  • Error on Linux, Mac, or Windows with Python 3

Common causes

  1. Python 3 installed without pip3
  2. pip3 not included in Python 3 installation
  3. Python 3 PATH not configured
  4. Using Python 3 installed from source without pip
  5. Virtual environment not properly set up
  6. Homebrew or package manager didn't install pip3
  7. Old or minimal Python 3 installation

How to fix this error

1Verify the root cause

Review the error message above and identify which cause applies to your situation. Run additional diagnostics if needed.

2Apply the appropriate fix

Follow the corresponding solution from the causes section above.

3Retry the installation

Once you've addressed the root cause, try running 'pip install' again.

Frequently asked questions

What does "How to fix 'pip3: command not found' in Python" mean?
pip3 is the package manager for Python 3. Unlike pip (which can point to Python 2 or 3), pip3 explicitly targets Python 3. When the system cannot find pip3, it means either Python 3 was installed without pip, or pip3 is not in the executable PATH.
How do I fix "How to fix 'pip3: command not found' in Python"?
This error indicates pip3 is not installed or not in your system PATH. pip3 is used for Python 3 package management.
What causes "How to fix 'pip3: command not found' in Python"?
Python 3 installed without pip3 pip3 not included in Python 3 installation Python 3 PATH not configured
Is the "How to fix 'pip3: command not found' in Python" error serious?
It is a medium-severity error โ€” more of a blocker than a risk. The steps above resolve it.

Official resources & further reading