V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ysicing
V2EX  ›  Django

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

  •  
  •   ysicing ·
    ysicing · 2017-08-09 11:49:59 +08:00 · 1826 次点击
    这是一个创建于 2665 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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
    

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

    第 1 条附言  ·  2017-08-09 15:56:39 +08:00
    fuck it.某一个 app 有问题
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5539 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 09:26 · PVG 17:26 · LAX 01:26 · JFK 04:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.