From: Delbert D. F. <iq...@so...> - 2004-12-13 17:48:55
|
On Thursday 09 December 2004 03:22 pm, John Hunter wrote: > >>>>> "Delbert" == Delbert D Franz <iq...@so...> writes: > > Delbert> After downloading and installing these two packages all > Delbert> but date_demo_rrule.py completed properly. The error in > Delbert> this case was an unknown name "rand". A check of the > Delbert> Python Library reference stated it was obsolete. I > Delbert> replaced it with random.randrange but got another error, > Delbert> an assertion error apparently on the y value. Being > Delbert> somewhat new to Python and even newer to matplotlib I > Delbert> gave up on that demo. > > Delbert> Perhaps someone else can test date_demo_rrule.py and see > Delbert> what happens. It is always a good thing when demos in > Delbert> fact run! > > True! But all of these demos do run for me. I suggest you flush your > existing matplotlib by removing site-packages/matplotlib and your > "build" directory and reinstall from the official source at > http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474&release_id=281218. > Please follow the instructions at > http://matplotlib.sourceforge.net/installing.html, eg make sure you > have numeric or numarray installed when you compile matplotlib. > After a bit of pondering and one false start (one compile failed because it could not find some item related to GTK) I got matplotlib compiled for the Tkinter backend only. It is the only one I'm interested in right now anyway. An update to the .matplotlibrc file solved the problem of seeking the GTKAgg backend which was not there and we were off to the races. All of the date examples completed without a hitch. A quite gratifying result! Apparently the Debian package I downloaded had some problems. One of the biggest challenges was translating short forms of software names into the package names used on the Debian package site-just one of those realities of the great world of open-source software. Not everyone uses the same descriptive name for the same entity. > Let us know if you have more troubles, and please include a full > traceback from one of the date demos and run it with > > > python date_demo1.py --verbose-helpful > > and report the output. > > > Delbert> I am also testing under MS Windows and the dateutils and > Delbert> pytz files came with that install but none of the example > Delbert> files came. Not sure why they are not included in the > Delbert> *.exe installer. > > It's a distutils thing. Suggestions here welcome. > > JDH > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |