ysicing
V2EX  ›  Django

Django 经过 PyInstaller 打包后运行提示 No module named apps

  •  
  •   ysicing ·
    ysicing · Aug 9, 2017 · 2323 views
    This topic created in 3280 days ago, the information mentioned may be changed or developed.
    Traceback (most recent call last):
      File "new_console_app.py", line 2, in <module>
      File "/usr/lib/python2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
      File "new_web/wsgi.py", line 16, in <module>
      File "site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
      File "site-packages/django/__init__.py", line 18, in setup
      File "site-packages/django/apps/registry.py", line 85, in populate
      File "site-packages/django/apps/config.py", line 112, in create
      File "importlib/__init__.py", line 37, in import_module
    ImportError: No module named apps
    Failed to execute script new_console_app
    

    大家有遇到过类似的问题吗,求助解决的姿势

    Supplement 1  ·  Aug 9, 2017
    fuck it.某一个 app 有问题
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   925 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 22:39 · PVG 06:39 · LAX 15:39 · JFK 18:39
    ♥ Do have faith in what you're doing.