I haven't had much success in the past at adding packages to the standalone Spyder app. I've found that even if I get it in the right place, inevitably some dependent package is not found for some reason.
The best solution that I've found is to have Spyder use an external python distribution, such as through macports. I don't know if this is too *nix hacking for your situation. The standalone Spyder is very appealing; I wish there was a way to easily add packages to it. Hope this helps. Happy climating! Ryan Clary > On Mar 18, 2014, at 5:37 PM, Paul Fisher <[email protected]> wrote: > > So I'm using the dmg install on Mavericks and I finally figured out where in > the app package to put the PyNGL site-package. The problem is I get > complaints about not being able to open an X11 window for any call to plot() > that gets handled by NGL: > > plot(c1) > File "ClimateGraphics.py", line 138, in plot > w = Ngl.open_wks('x11','Climate Workbook') > AttributeError: 'module' object has no attribute 'open_wks' > > The reason I need this is for the ClimateUtilities and ClimateGraphics > packages that go with Ray PierreHumbert's "Principles of Planetary Climate". > I could use MatPlotLib but for assorted reasons I'd prefer to use NGL (for > one thing most of the examples were written to use NGL and do not display all > that well with MatPlotLib ... missing axis labels etc.) > > I'm trying to create an environment that can be used by high school students > studying climate. Obviously we are doing some programming but my goal here is > not to turn them into a bunch *nix hackers (... I have a completely separate > course for that ...) > > Any thoughts out there? > > I do have XQuartz installed. > > Thanks, > > Paul Fisher > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/spyderlib. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
