title: python 3.9: Error upgrading pip from 22.0 to 22.0.2
body: <p>When trying to upgrade pip I receive below errors.</p>
  <pre><code>C:\Windows\system32&gt;py -m pip list --outdated
  Package Version Latest Type
  ------- ------- ------ -----
  pip     22.0    22.0.2 wheel
  </code></pre>
  <p>Upgrading:</p>
  <pre><code>C:\Windows\system32&gt;py -m pip install --upgrade pip
  Requirement already satisfied: pip in c:\users\pedro\appdata\roaming\python\python39\site-packages (22.0)
  Collecting pip
    Using cached pip-22.0.2-py3-none-any.whl (2.1 MB)
  Installing collected packages: pip
    Attempting uninstall: pip
      Found existing installation: pip 22.0
      Uninstalling pip-22.0:
        Successfully uninstalled pip-22.0
    WARNING: No metadata found in c:\users\pedro\appdata\roaming\python\python39\site-packages
    Rolling back uninstall of pip
    Moving to c:\users\pedro\appdata\roaming\python\python39\scripts\
     from C:\Users\pedro\AppData\Roaming\Python\Python39\~cripts
    Moving to c:\users\pedro\appdata\roaming\python\python39\site-packages\pip-22.0.dist-info\
     from C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\~ip-22.0.dist-info
    Moving to c:\users\pedro\appdata\roaming\python\python39\site-packages\pip\
     from C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\~ip
  ERROR: Exception:
  Traceback (most recent call last):
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_internal\cli\base_command.py&quot;, line 165, in exc_logging_wrapper
      status = run_func(*args)
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_internal\cli\req_command.py&quot;, line 205, in wrapper
      return func(self, options, args)
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_internal\commands\install.py&quot;, line 405, in run
      installed = install_given_reqs(
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_internal\req\__init__.py&quot;, line 73, in install_given_reqs
      requirement.install(
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_internal\req\req_install.py&quot;, line 769, in install
      install_wheel(
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_internal\operations\install\wheel.py&quot;, line 729, in install_wheel
      _install_wheel(
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_internal\operations\install\wheel.py&quot;, line 646, in _install_wheel
      generated_console_scripts = maker.make_multiple(scripts_to_generate)
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\distlib\scripts.py&quot;, line 428, in make_multiple
      filenames.extend(self.make(specification, options))
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_internal\operations\install\wheel.py&quot;, line 427, in make
      return super().make(specification, options)
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\distlib\scripts.py&quot;, line 417, in make
      self._make_script(entry, filenames, options=options)
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\distlib\scripts.py&quot;, line 317, in _make_script
      self._write_script(scriptnames, shebang, script, filenames, ext)
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\distlib\scripts.py&quot;, line 247, in _write_script
      launcher = self._get_launcher('t')
    File &quot;C:\Users\pedro\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\distlib\scripts.py&quot;, line 396, in _get_launcher
      raise ValueError(msg)
  ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
  </code></pre>