[yt-users] Exporting notebooks

B.W. Keller kellerbw at mcmaster.ca
Thu Nov 13 05:24:49 PST 2014


It looks like the first error is caused because the pygments library (which
does the nice pretty syntax coloring) is missing.  `pip install pygments`
should fetch that for you.

On Thu, Nov 13, 2014 at 5:59 AM, Elizabeth Tasker <
tasker at astro1.sci.hokudai.ac.jp> wrote:

> Hi,
>
> I’m getting a batch of errors (OK… 2) when using python notebooks with yt
> 3.0:
>
> (1) I’m trying to export my python notebook into something shareable
> (ideally a pdf document). However, when I click ‘Print Preview’ or
> ‘Download as—> html’ I get the error:
>
> No module named pygments.formatters
> tornado.access: [ERROR    ]
>
> Is there something extra I need to add to the yt python install to get
> this working? This happens both on my linux workstation and my macbook when
> I try and run nbconvert.
>
>
> (2) when I try:
>
> ts = DatasetSeries([“DD0002/sbcool_0002”, “DD0010/sbcool_0010”])
>
> I get the error
>
> NameError: name ‘DatasetSeries' is not defined
>
> is this something that slipped through being imported int yt 3?
>
> Elizabeth
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141113/75c74642/attachment.htm>


More information about the yt-users mailing list