title: Pyinstaller with Django: ModuleNotFoundError: No Module Named django.contrib.messages.apps
body: <p>I'm trying to run my packaged python application in the cmd line, and I get the error:</p>
  
  <p><code>ModuleNotFoundError: No Module Named 'django.contrib.messages.apps'</code></p>
  
  <p>I used the answer from <a href="https://github.com/pyinstaller/pyinstaller/issues/2332" rel="nofollow noreferrer">https://github.com/pyinstaller/pyinstaller/issues/2332</a> to get rid of the similar error for <code>'django.contrib.admin.apps'</code>, so does anyone know how to remove this one as well?</p>