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

Hyungro Lee hroe.lee at gmail.com
Mon Jul 1 18:04:54 EDT 2013


Thanks for the comments.

When I was following the instruction on ipython.org, I thought I was
downloading 0.13.2 as indicated, but apparently I installed 0.12.1. It
might be good if ppa added to the page.


On Mon, Jul 1, 2013 at 2:26 PM, MinRK <benjaminrk at gmail.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/7302a200/attachment.html>


More information about the IPython-dev mailing list