You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Rustam Khalmurzaev (Jira)" <ji...@apache.org> on 2019/11/08 13:25:00 UTC

[jira] [Comment Edited] (BEAM-7585) Ipython usage raises AttributeError

    [ https://issues.apache.org/jira/browse/BEAM-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16970163#comment-16970163 ] 

Rustam Khalmurzaev edited comment on BEAM-7585 at 11/8/19 1:24 PM:
-------------------------------------------------------------------

[~Sithe], could you provide your code to reproduce this issue cause I can't it reproduce.

I have tried to use {{apache_beam.runners.interactive.display.display_manager.}}{{DisplayManager and it seems that it works.}}


was (Author: rustam_kh):
[~Sithe], could you provide your code to reproduce this issue cause I can't it reproduce.

> Ipython usage raises AttributeError
> -----------------------------------
>
>                 Key: BEAM-7585
>                 URL: https://issues.apache.org/jira/browse/BEAM-7585
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-direct, sdk-py-core
>            Reporter: SBlackwell
>            Priority: Major
>              Labels: easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/display_manager.py#L36]
> import IPython
> _display_progress = IPython.display.display
>  
> This doesn't work:
> In [1]: import IPython; IPython.display.display('test')
> ---------------------------------------------------------------------------
> AttributeError Traceback (most recent call last)
> <ipython-input-1-1ca36be5baf7> in <module>()
> ----> 1 import IPython; IPython.display.display('test')
> AttributeError: 'module' object has no attribute 'display'
> In [2]: from IPython import display; display.display('test')
> 'test'
> In [3]: import IPython; IPython.display.display('test')
> 'test'
>  
>  
> Should be:
> import IPython
> from IPython import display
> _display_progress = display.display



--
This message was sent by Atlassian Jira
(v8.3.4#803005)