title: PyWin32 (226) and virtual environments
body: <p><a href="https://pypi.org/project/pywin32/226/#files" rel="noreferrer">[PyPI]: pywin32 226</a> has been released on <em>20191110</em>. <br>It <strong>works</strong> on most of the <em>Python</em> installations (<em>e.g.</em> works on the official versions downloaded from <a href="https://www.python.org/downloads" rel="noreferrer">Python</a>), but <strong>not</strong> on virtual environments (<em>e.g.</em> <strong>created with <em>VirtualEnv</em> (<em>v16.7.7</em></strong>), and (based on further research) <em>Python</em>'s <strong><em>venv</em></strong>). <br>I used <em>Python</em> <strong><em>v3.8</strong>.0</em> and <strong><em>v3.7</strong>.3</em> as lab rats. Here's the output for the former:</p>
  
  
  
  <blockquote>
  <pre class="lang-bat prettyprint-override"><code>[cfati@CFATI-5510-0:e:\Work\Dev\StackOverflow\q058805040]&gt; "e:\Work\Dev\VEnvs\py_064_03.08.00_test0\Scripts\python.exe" -c "import win32api"
  Fatal Python error: init_import_size: Failed to import the site module
  Python runtime state: initialized
  Traceback (most recent call last):
    File "e:\Work\Dev\VEnvs\py_064_03.08.00_test0\lib\site.py", line 769, in &lt;module&gt;
      main()
    File "e:\Work\Dev\VEnvs\py_064_03.08.00_test0\lib\site.py", line 746, in main
      paths_in_sys = addsitepackages(paths_in_sys)
    File "e:\Work\Dev\VEnvs\py_064_03.08.00_test0\lib\site.py", line 279, in addsitepackages
      addsitedir(sitedir, known_paths)
    File "e:\Work\Dev\VEnvs\py_064_03.08.00_test0\lib\site.py", line 202, in addsitedir
      addpackage(sitedir, name, known_paths)
    File "e:\Work\Dev\VEnvs\py_064_03.08.00_test0\lib\site.py", line 170, in addpackage
      exec(line)
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "e:\Work\Dev\VEnvs\py_064_03.08.00_test0\lib\site-packages\win32\lib\pywin32_bootstrap.py", line 14, in &lt;module&gt;
      for maybe in site.getsitepackages():
  AttributeError: partially initialized module 'site' has no attribute 'getsitepackages' (most likely due to a circular import)
  </code></pre>
  </blockquote>