You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Barry Hart (JIRA)" <ji...@apache.org> on 2018/07/10 18:37:00 UTC
[jira] [Created] (BEAM-4752) Import error in
apache_beam.internal.pickler: "'module' object has no attribute 'dill'"
Barry Hart created BEAM-4752:
--------------------------------
Summary: Import error in apache_beam.internal.pickler: "'module' object has no attribute 'dill'"
Key: BEAM-4752
URL: https://issues.apache.org/jira/browse/BEAM-4752
Project: Beam
Issue Type: Bug
Components: sdk-py-core
Affects Versions: 2.4.0
Environment: CentOS Linux release 7.4.1708
Python 2.7.13
Reporter: Barry Hart
Assignee: Ahmet Altay
I'm seeing the following error. The {{dill}} library has no {{dill}} submodule. I think the correct way to reference {{Pickler}} is simply {{dill.Pickler.}}
{noformat}
Traceback (most recent call last):
File "script/beam_run_model.py", line 29, in <module>
import apache_beam as beam
File "/usr/local/pyenv/versions/2.7.13/lib/python2.7/site-packages/apache_beam/__init__.py", line 84, in <module>
import apache_beam.internal.pickler
File "/usr/local/pyenv/versions/2.7.13/lib/python2.7/site-packages/apache_beam/internal/pickler.py", line 107, in <module>
dill.dill.Pickler.dispatch[type])
AttributeError: 'module' object has no attribute 'dill'{noformat}
Oddly, I have successfully used Beam 2.4.0 in the past with this version of Dill. ¯\_(ツ)_/¯
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)