On 6/9/2010 8:50 AM, David Goldsmith wrote: > On Wed, Jun 9, 2010 at 12:18 AM, Christoph Gohlke <cgoh...@uci.edu > <mailto:cgoh...@uci.edu>> wrote: > > > On 6/8/2010 11:25 PM, David Goldsmith wrote: > > On Tue, Jun 8, 2010 at 11:21 AM, Christoph Gohlke > <cgoh...@uci.edu <mailto:cgoh...@uci.edu> > <mailto:cgoh...@uci.edu <mailto:cgoh...@uci.edu>>> wrote: > > 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 <mailto:d.l.goldsm...@gmail.com> > <mailto:d.l.goldsm...@gmail.com > <mailto:d.l.goldsm...@gmail.com>>> wrote: > > On Tue, Jun 8, 2010 at 9:52 AM, David > Goldsmith<d.l.goldsm...@gmail.com > <mailto:d.l.goldsm...@gmail.com> > <mailto:d.l.goldsm...@gmail.com <mailto:d.l.goldsm...@gmail.com>>> > > wrote: > > > --------- Forwarded message ---------- > From: SourceForge.net<nore...@sourceforge.net > <mailto:nore...@sourceforge.net> > <mailto:nore...@sourceforge.net <mailto: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 > <mailto:nore...@sourceforge.net> <mailto:nore...@sourceforge.net > <mailto: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 > > <https://sourceforge.net/tracker/?func=detail&atid=560720&aid=2949906&group_id=80706> > > <https://sourceforge.net/tracker/?func=detail&atid=560720&aid=2949906&group_id=80706 > > <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, > > > I don't already have those - where do I get them, please? > > > http://www.libpng.org/pub/png/libpng.html > http://freetype.sourceforge.net/ > http://www.zlib.net/ > > It is best to build those libraries yourself, with exactly the same > compiler and runtime > > > Is there a way to determine these if I used the build delivered via > http://python.org/ftp/python/2.6.5/python-2.6.5.amd64.msi?
C:\Python26\python.exe Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform.python_compiler() 'MSC v.1500 32 bit (Intel)' This is the Visual Studio 2008 compiler. I think this is also mentioned in the release notes. The C runtime library is the default used by VS2008. You can verify the version with a tool like Dependency Walker. I just mentioned it because VS2008 SP1 comes with a new revision of the C runtime, which is not enabled by default - keep it that way. I use the /MD switch when compiling libraries for Python extensions. -- 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