我的应用程序中安装了suds-jurko==0.6
。当运行我的
应用程序我不知道为什么会这样。我的应用程序在docker容器中运行。这应该可以正常工作,但是为什么我会收到此错误?
ImportError: No module named core
File "celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "myapp/tasks.py", line 60, in __call__
return TaskBase.__call__(self, *args, **kwargs)
File "celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "myapp/tasks.py", line 94, in task_1
from myapp.services import MyService
File "/home/worker/application/myapp/services.py", line 7, in <module>
from suds.client import Client
File "/home/worker/venv/lib/python2.7/site-packages/suds/client.py", line 24, in <module>
import suds.bindings.binding
File "/home/worker/venv/lib/python2.7/site-packages/suds/bindings/binding.py", line 26, in <module>
from suds.mx.literal import Literal as MxLiteral
File "/home/worker/venv/lib/python2.7/site-packages/suds/mx/literal.py", line 23, in <module>
from suds.mx.core import Core
为缩小问题范围,罪魁祸首是此导入:from suds.client import Client
。知道如何解决此问题吗?