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

Hyungro Lee hroe.lee at gmail.com
Mon Jul 1 16:40:18 EDT 2013


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130701/3dd8c5bf/attachment.html>

More information about the IPython-dev mailing list