title: How to pack a Plotly-Dash application with pyinstaller into a single exe file for windows?
body: <p>I have a script that runs a plotly-dash dashboard. When I pack it with </p>
  
  <pre><code>pyinstaller --onefile script.py
  </code></pre>
  
  <p>and run the generated .exe file, I get the error message:</p>
  
  <pre><code>FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\my_user\\AppData\\Local\\Temp\\_MEI161122\\dash_html_components\\package-info.json'
  [5968] Failed to execute script
  </code></pre>
  
  <p>What is going on here exactly and how can I fix it?</p>