title: ImportError: No system module 'pywintypes' (pywintypes39.dll)
body: <p>I was making a virtual assistant in python, but I see the following error.</p>
  <pre><code>ImportError: No system module 'pywintypes' (pywintypes39.dll)
  </code></pre>
  <p>I am using Windows 10 and Python 3.9</p>
  <p>Here is the code</p>
  <pre><code>import speech_recognition as sr
  import pyttsx3 
  listner=sr.Recognizer()
  engine=pyttsx3.init()
  engine.say('Hello Vishal. I am Cisco')
  engine.say('What do you want me to do?')
  engine.runAndWait()
  try:
      with sr.Microphone() as source:
              print('listening...')
              voice=listner.listen(source)
              command = listner.recognize_google(voice)
              command=command.lower()
              if &quot;cisco&quot; in command:
                   print(command)
  except:
      print('Something went wrong')
  </code></pre>
  <p>Also when I run this program The console prints this:</p>
  <pre><code>    enter code hraceback (most recent call last):
    File &quot;C:\Users\visha\AppData\Roaming\Python\Python39\site-packages\pyttsx3\__init__.py&quot;, line 20, in init
      eng = _activeEngines[driverName]
    File &quot;C:\Program Files (x86)\Python\lib\weakref.py&quot;, line 134, in __getitem__
      o = self.data[key]()
  KeyError: None
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File &quot;c:\Users\visha\Documents\Python\Basic.py&quot;, line 4, in &lt;module&gt;
      engine=pyttsx3.init()
    File &quot;C:\Users\visha\AppData\Roaming\Python\Python39\site-packages\pyttsx3\__init__.py&quot;, line 22, in init
      eng = Engine(driverName, debug)
    File &quot;C:\Users\visha\AppData\Roaming\Python\Python39\site-packages\pyttsx3\engine.py&quot;, line 30, in __init__       
      self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
    File &quot;C:\Users\visha\AppData\Roaming\Python\Python39\site-packages\pyttsx3\driver.py&quot;, line 50, in __init__       
      self._module = importlib.import_module(name)
    File &quot;C:\Program Files (x86)\Python\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 790, in exec_module
    File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 228, in _call_with_frames_removed
    File &quot;C:\Users\visha\AppData\Roaming\Python\Python39\site-packages\pyttsx3\drivers\sapi5.py&quot;, line 10, in &lt;module&gt;
      import pythoncom
    File &quot;C:\Users\visha\AppData\Roaming\Python\Python39\site-packages\pythoncom.py&quot;, line 2, in &lt;module&gt;
      import pywintypes
    File &quot;C:\Users\visha\AppData\Roaming\Python\Python39\site-packages\win32\lib\pywintypes.py&quot;, line 105, in &lt;module&gt;
      __import_pywin32_system_module__(&quot;pywintypes&quot;, globals())
    File &quot;C:\Users\visha\AppData\Roaming\Python\Python39\site-packages\win32\lib\pywintypes.py&quot;, line 87, in __import_pywin32_system_module__
      raise ImportError(&quot;No system module '%s' (%s)&quot; % (modname, filename))
  ImportError: No system module 'pywintypes' (pywintypes39.dll)
  PS C:\Users\visha\Documents\Python&gt; ere
  </code></pre>
  <p>I am a beginner so I don't have much idea.
  Thanks in advance for your help</p>