On 6/8/2010 10:39 AM, John Hunter wrote: > On Tue, Jun 8, 2010 at 11:53 AM, David Goldsmith > <d.l.goldsm...@gmail.com> wrote: >> On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmith<d.l.goldsm...@gmail.com> >> wrote: >>> >>> --------- Forwarded message ---------- >>> From: SourceForge.net<nore...@sourceforge.net> >>> Date: Mon, Jun 7, 2010 at 6:06 AM >>> Subject: [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo >>> raises ZeroDivisionError >>> To: nore...@sourceforge.net >>> >>> Bugs item #2949906, was opened at 2010-02-11 13:44 >>> Message generated for change (Comment added) made by jdh2358 >>> You can respond by visiting: >>> >>> https://sourceforge.net/tracker/?func=detail&atid=560720&aid=2949906&group_id=80706 >>> >>> Category: None >>> Group: None >>> Status: Closed >>> Resolution: Duplicate >>> Priority: 5 >>> Private: No >>> Submitted By: David Goldsmith (olydlg) >>>> Assigned to: John Hunter (jdh2358) >>> Summary: finance.quotes_historical_yahoo raises ZeroDivisionError >>>> Comment By: John Hunter (jdh2358) >>> Date: 2010-06-07 08:06 >>> >>> Message: >>> This is fixed in svn 8392. Look for it in the upcoming release. Please >>> test from svn if you are able >>> >>> http://matplotlib.sourceforge.net/faq/installing_faq.html#install-from-svn >>> >>> Thanks for the report, >>> JDH >>> >>> Hi, John, etc. I checked-out current revision (8396 I believe), tried to >>> build using python setup.py build, got error: Unable to find vcvarsall.bat. >>> Googled, determined that it was something I'm supposed to get w/ a VC >>> runtime, so grabbed the most recent version (VC2010 or some such), >>> installed, determined that I now have a vcvarsall.bat and added it's >>> location to my path, but am still getting the error. Any ideas? >>> Windows 7 home prem. 64 bit. Python 2.6. Thanks! >>> >>> DG >> >> Oh, and the error happens after building 'matplotlib.ft2font' extension. >> Thanks again, > > Perhaps Christoph, who builds the win32 binaries, can let you know > what he does. It's never as simple a python setup.py install, though. > You may want to look in the release/win32 directory at the README.txt > and Makefile. >
You need Visual Studio 2008 (MSVC9) to compile extensions for Python >=2.6 on Windows. "python setup.py build" works once you have built the prerequisites. See <http://matplotlib.sourceforge.net/users/installing.html>. I link against the static libraries of libpng, zlib, and freetype, compiled with the /MD switch. You may have to adjust your %LIB% and %INCLUDE% environment variables and rename the lib files in order to be found by the matplotlib build system. -- Christoph ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users