title: python pyttsx3 error -- _pickle.UnpicklingError: invalid load key, '\x00'
body: <p>i am trying to convert text to speech using <strong>pyttsx3</strong> in <strong>python</strong>. but iam getting the error -- <strong>_pickle.UnpicklingError: invalid load key, '\x00'.</strong>
  it worked once. later it didn't </p>
  
  <p>my code</p>
  
  <pre><code>import pyttsx3
  engine = pyttsx3.init()
  engine.say("I will speak this text")
  engine.runAndWait()
  </code></pre>
  
  <p>error i am receiving is --</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
    File "C:\ProgramData\Anaconda3\lib\site-packages\pyttsx3__init__.py",
    line 20, in init</p>
  </blockquote>
  
  <pre><code>eng = _activeEngines[driverName]
  </code></pre>
  
  <blockquote>
    <p>File "C:\ProgramData\Anaconda3\lib\weakref.py", line 137, in
    <strong>getitem</strong></p>
  </blockquote>
  
  <pre><code>o = self.data[key]()
  </code></pre>
  
  <blockquote>
    <p>KeyError: None</p>
    
    <p>During handling of the above exception, another exception occurred:</p>
    
    <p>...</p>
    
    <p>File "C:\ProgramData\Anaconda3\lib\site-packages\win32com\client\gencache.py", line 113, in _LoadDicts</p>
  </blockquote>
  
  <pre><code>version = p.load()
  </code></pre>
  
  <blockquote>
    <p>_pickle.UnpicklingError: invalid load key, '\x00'.</p>
  </blockquote>
  
  <p>python version is <strong>3.7.3</strong> |
  pyttsx3 version is <strong>2.71</strong>|
  pywin32 version is <strong>224</strong></p>
  
  <p><strong>please help</strong></p>