can't import user module in Compute Function
Distributed and Parallel Computing with/for Python.
Brought to you by:
pgiri
Hi, I tried to import some Module written by myself, and call some user function in Compute fuction. But there are some problems when program reached this location:'job=job() '. The error info is just like:
'TypeError: 'NoneType' object is not iterable'.
'asyncoro - uncaught exception in _shutdown:
Traceback (most recent call last):'
.................
'NameError: global name 'compute' is not defined'
And even if when I call some Modules in Python, suck as 'uuid', the same error info happen as well.
what's the cause and solution? Thank you.
From the description it is not clear what the problem is. Add your program (snippets or dummy functions are okay). Note that if you are importing non-standard library, you may need to include it in 'depends' parameter.