Aha, I did not have VC++ 2008 EE on my PC, so it actually didn't compile 
anything.
Now that I have it, I get a dependency problem with Freetype2. The build 
command fails with:
c:\python26\matpotlib\src\ft2font.h(13) : fatal error C1083: Cannot open 
include
 file: 'ft2build.h': No such file or directory

I downloaded the windows binaries of freetype2 in gnuwin32 project, but 
it doesn't seem to help. Or do I need to download freetype2 source and 
compile that. If so, maybe there is a detailed (step-by-step) guide 
installing the dependecies (libpng, zlib, freetype), because they don't 
seem to have windows installers like numpy has that actually works with 
matplotlib.

Any helpl appreciated.
When might we see matplotlib binaries for python 2.6?

Andrew Straw wrote:
> Romi Agar wrote:
>   
>> Hi!
>>
>> I'm having a bit difficulty getting matplotlib to run under windows 
>> (vista x64) with python 2.6.
>> I downloaded the source from svn, ran the build and install commands, 
>>     
>
> Does that mean "python setup.py install"?
>
>   
>> then copied the content of /build/lib.win32-2.6
>> to Lib/site-packages folder. 
>>     
>
> Hmm, why did you have to do that? Doesn't the install step do that
> automatically? Or did it break?
>
> But when I try to import pylab I get the
>   
>> following error message:
>>
>> Traceback (most recent call last):
>>   File "<pyshell#0>", line 1, in <module>
>>     import pylab
>>   File "C:\Python26\lib\site-packages\pylab.py", line 1, in <module>
>>     from matplotlib.pylab import *
>>   File "C:\Python26\lib\site-packages\matplotlib\pylab.py", line 207, in 
>> <module>
>>     from matplotlib import mpl  # pulls in most modules
>>   File "C:\Python26\lib\site-packages\matplotlib\mpl.py", line 1, in 
>> <module>
>>     from matplotlib import artist
>>   File "C:\Python26\lib\site-packages\matplotlib\artist.py", line 5, in 
>> <module>
>>     from transforms import Bbox, IdentityTransform, TransformedBbox, 
>> TransformedPath
>>   File "C:\Python26\lib\site-packages\matplotlib\transforms.py", line 
>> 34, in <module>
>>     from matplotlib._path import affine_transform
>> ImportError: No module named _path
>>
>> So, where might I find the _path module be?
>>     
>
> This gets compiled from C sources. Do you a C compiler on your system?
> "Python 2.6 is built with MicroSoft Visual Studio 2008 (aka VC++ v 9.0),
> but the free VC++ 2008 Express Edition compiles Python extensions just
> fine", according to http://mien.sourceforge.net/docs/platform_win.html#py26
>
>
>   
>> Thanks in advance,
>> Romi
>>
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>     
>
>   

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to