title: pip broken, can't use most of pip commands (on windows)
body: <p>So I was working with python, coding and installing packages, everything was going ok, but then everything with pip stoped working, and every times the cmd prompt me :</p>
  <pre><code>Traceback (most recent call last):
    File &quot;c:\python39\lib\runpy.py&quot;, line 197, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File &quot;c:\python39\lib\runpy.py&quot;, line 87, in _run_code
      exec(code, run_globals)
    File &quot;C:\Python39\Scripts\pip.exe\__main__.py&quot;, line 7, in &lt;module&gt;
    File &quot;c:\python39\lib\site-packages\pip\_internal\cli\main.py&quot;, line 69, in main
      command = create_command(cmd_name, isolated=(&quot;--isolated&quot; in cmd_args))
    File &quot;c:\python39\lib\site-packages\pip\_internal\commands\__init__.py&quot;, line 91, in create_command
      module = importlib.import_module(module_path)
    File &quot;c:\python39\lib\importlib\__init__.py&quot;, line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1030, in _gcd_import
    File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1007, in _find_and_load
    File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 986, in _find_and_load_unlocked
    File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 680, in _load_unlocked
    File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line 855, in exec_module
    File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 228, in _call_with_frames_removed
    File &quot;c:\python39\lib\site-packages\pip\_internal\commands\list.py&quot;, line 9, in &lt;module&gt;
      from pip._internal.cli.req_command import IndexGroupCommand
    File &quot;c:\python39\lib\site-packages\pip\_internal\cli\req_command.py&quot;, line 20, in &lt;module&gt;
      from pip._internal.index.collector import LinkCollector
    File &quot;c:\python39\lib\site-packages\pip\_internal\index\collector.py&quot;, line 5, in &lt;module&gt;
      import cgi
    File &quot;c:\python39\lib\cgi.py&quot;, line 41, in &lt;module&gt;
      import html
  ModuleNotFoundError: No module named 'html'
  </code></pre>
  <p>I never run into those kind of errors.
  BTW pip -V is working, and when I try to run a programme using python with the already installed package and it still works fine.</p>
  <p>I tried to reinstall python partially after restarting my pc, and nothing with pip has changed</p>