Actually... I just logged into sage.math.washington.edu , and got the
same problem. I wonder if I have an older version on my machine.

Anyway: it appears that all these libraries have now been moved into
matplotlib.dates.*





On Mar 1, 5:46 pm, Phaedon Sinis <phaedonsi...@gmail.com> wrote:
> Weird... actually it turns out that "import" fails but "from ...
> import ..." works -- tab completion recognizes the existence of
> dateutil.
>
> import matplotlib.dateutil
> returns an error
>
> but
>
> sage: from matplotlib import dateutil
> sage: dir(dateutil)
>
> ['__author__',
>  '__builtins__',
>  '__doc__',
>  '__file__',
>  '__license__',
>  '__name__',
>  '__path__',
>  '__version__']
>
> On Mar 1, 5:18 pm, William Stein <wst...@gmail.com> wrote:
>
>
>
> > On Sun, Mar 1, 2009 at 8:10 PM, David Joyner <wdjoy...@gmail.com> wrote:
>
> > > On Sun, Mar 1, 2009 at 6:22 PM, Rob Beezer <goo...@beezer.cotse.net> 
> > > wrote:
>
> > >> Phaedon,
>
> > >> This won't address all your questions, but will get you headed in the
> > >> right path.
>
> > >> At the system command line:
> > >> sage -clone finance-test
>
> > >> will make a copy of the a tree parallel to devel/sage-main, and the
> > >> symbolic link at the same level named devel/sage will point to the new
> > >> tree devel/sage-finance-test.
>
> > >> You can experiment safely in this sandbox and for free you get a
> > >> Mercurial repository to track your changes.  In the developer's guide
> > >> read about the hg_sage commands to use a simplified interface to the
> > >> repository.
>
> > >> If you edit files under devel/sage-finance-test, then at the system
> > >> command line  sage -b  will rebuild just the edited files.
>
> > > Don't you also have to add the module to the various "all.py"'s,
> > > such as devel/sage/sage/all.py ?
>
> > That is only necessary for new directories and cython code.
>
> > Regarding your questions:
>
> > > import matplotlib.dateutil works fine within sage
> > > but dateutil seems to be empty.  dir(dateutil) doesn't contain
> > > anything -- and I am looking specificalliy for relativedelta. What am
> > > I doing wrong?
>
> > For me on OS X and Linux:
>
> > sage: import matplotlib.dateutil
> > Traceback (most recent call last):
> > ...
> > ImportError: No module named dateutil
>
> > So for me I don't even get farther than you.
>
> >  -- William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to