title: pyinstaller ModuleNotFoundError
body: <p>I have built a python script using tensorflow and I am now trying to convert it to an .exe file, but have ran into a problem. After using pyinstaller and running the program from the command prompt I get the following error: </p>
  
  <pre><code>File "site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 25, in &lt;module&gt; ModuleNotFoundError: No module named 'tensorflow.python.platform'
  </code></pre>
  
  <p>I have tried --hidden-import tensorflow.python.platform but it seems to have fixed nothing.
  (The program runs just fine in the interpreter)
  Your help would be greatly appreciated.</p>