title: How to deal with '/usr/bin/python: No module named pip' when pip is installed?
body: <p>I am running 'which pip' or 'pip -V' on MacOS and its giving me the following location:</p>
  <pre><code>pip 20.2.1 from /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip (python 3.8)
  </code></pre>
  <p>However, when I try to do <code>'python -m pip install --user pygame'</code> it says <code>'/usr/bin/python: No module named pip'</code></p>
  <p>Anyone who has come across this problem know how to resolve this issue?</p>
  <p>UPDATE:</p>
  <p>When I do 'python3 -m pip install --user pygame' or 'python3 install pygame' the following error comes up:</p>
  <blockquote>
  <p>ERROR: Command errored out with exit status 1:
  command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -u -c
  'import sys, setuptools, tokenize; sys.argv[0] =
  '&quot;'&quot;'/private/var/folders/g9/77451rtd0vj7grc2_lz66tc80000gn/T/pip-install-6wyn2mh9/pygame/setup.py'&quot;'&quot;';
  <strong>file</strong>='&quot;'&quot;'/private/var/folders/g9/77451rtd0vj7grc2_lz66tc80000gn/T/pip-install-6wyn2mh9/pygame/setup.py'&quot;'&quot;';f=getattr(tokenize,
  '&quot;'&quot;'open'&quot;'&quot;', open)(<strong>file</strong>);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;',
  '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, <strong>file</strong>, '&quot;'&quot;'exec'&quot;'&quot;'))'
  install --record
  /private/var/folders/g9/77451rtd0vj7grc2_lz66tc80000gn/T/pip-record-yyyazq6a/install-record.txt
  --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pygame
  cwd: /private/var/folders/g9/77451rtd0vj7grc2_lz66tc80000gn/T/pip-install-6wyn2mh9/pygame/
  Complete output (218 lines):
  .........     ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -u -c
  'import sys, setuptools, tokenize; sys.argv[0] =
  '&quot;'&quot;'/private/var/folders/g9/77451rtd0vj7grc2_lz66tc80000gn/T/pip-install-6wyn2mh9/pygame/setup.py'&quot;'&quot;';
  <strong>file</strong>='&quot;'&quot;'/private/var/folders/g9/77451rtd0vj7grc2_lz66tc80000gn/T/pip-install-6wyn2mh9/pygame/setup.py'&quot;'&quot;';f=getattr(tokenize,
  '&quot;'&quot;'open'&quot;'&quot;', open)(<strong>file</strong>);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;',
  '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, <strong>file</strong>, '&quot;'&quot;'exec'&quot;'&quot;'))'
  install --record
  /private/var/folders/g9/77451rtd0vj7grc2_lz66tc80000gn/T/pip-record-yyyazq6a/install-record.txt
  --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/pygame
  Check the logs for full command output.</p>
  </blockquote>