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