[IPython-dev] IPython.core.display or IPython.display ?

MinRK benjaminrk at gmail.com
Mon Jul 1 17:26:29 EDT 2013


display classes are defined in a few places (core.display and lib.display),
but they should be imported from IPython.display.  I think IPython.display
may be new in 0.13 from last year.


On Mon, Jul 1, 2013 at 1:40 PM, Hyungro Lee <hroe.lee at gmail.com> wrote:

> Hi,
>
> This might be a stupid question but I experienced that my IPython notebook
> couldn't find the display module when I imported it like this:
>
>> from IPython.display import HTML
>
> ---------------------------------------------------------------------------
>> ImportError Traceback (most recent call last)
>> /home//.ipython/profile_default/<ipython-input-8-686fc631ef0a> in
>> <module>()
>> ----> 1 from IPython.display import HTML
>>
>> ImportError: No module named display
>
>
> So, I tried it again with core path like this :
>
>> from IPython.core.display import HTML
>
>
> It seems working fine with core path.
>
> My installation of IPython is 0.12.1 and used command sudo apt-get install
> ipython-notebook as guided on ipython.org/install.html
>
> The core package has been merged to the ipython 1.0 main package, I guess?
> Any guidance would be appreciated.
>
> Thanks,
> Hyungro
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130701/15332850/attachment.html>


More information about the IPython-dev mailing list