2

这是与此相关的问题:

https://stackoverflow.com/questions/27596463/why-do-i-get-a-cannedarray-object-has-no-attribute-pickled-in-ipython-gather

不同之处在于,现在我尝试use_dill在 ipython 中并行,当我尝试提取数据时,它给了我一个错误。我不知道数据是否被push编辑过。

dv['a'] = 1
dv['a'] # <- this gives an error

我得到的错误是:

*** CompositeError: one or more exceptions from call to method: _pull
[0:apply]: AttributeError: 'module' object has no attribute '__main__'
[1:apply]: AttributeError: 'module' object has no attribute '__main__'
[2:apply]: AttributeError: 'module' object has no attribute '__main__'
[3:apply]: AttributeError: 'module' object has no attribute '__main__'
.... 9 more exceptions ...

我不知道发生了什么,非常感谢任何帮助。

如果您想了解更多信息,请告诉我,我会添加。

谢谢

4

0 回答 0