whoops, thanks for the clarification!

On Thu Nov 13 2014 at 9:44:06 AM Nathan Goldbaum <nathan12343@gmail.com> wrote:
Other way around, TimeSeriesData is deprecated.
On Thu, Nov 13, 2014 at 7:01 AM Chris Malone <chris.m.malone@gmail.com> wrote:
Hi Elizabeth,

For 2) how are you importing yt?  If you are doing the recommended approach of `import yt`, then it should be `yt.DatasetSeries(...)`.  FWIW, it does look like DatasetSeries is imported into the yt module, but has been deprecated (should still work) in favor of the TimeSeriesData object.

Chris

On Thu Nov 13 2014 at 6:24:58 AM B.W. Keller <kellerbw@mcmaster.ca> wrote:
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@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@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org