In article 
<caat3jwe2fozn2fnolb677kjqre-pzj+zlhwxoe7-vkbfvko...@mail.gmail.com>,
 C M <cmpyt...@gmail.com> wrote:

> Trying to help a Mac friend running OSX 10.7 (Lion) easily set up to test
> scripts I send him, and have some questions:
> 
> 1) Can Matplotlib 1.1 run on the Python 2.7.2 version that comes with
> Lion?

Yes. You can easily build it yoursef as long as you have XCode 
installed: 

- Edit setupext.py so that the list of values for "darwin" is 
['/usr/local', '/usr', /usr/X11']
(and for a really vanilla build leave out /usr/local). (I have a pull 
request for this to be part of the standard distro, but I don't know if 
or when it will go in since not a big issue.)

Then do the usual:
% python setup.py build
% sudo python setup.py install

> 2) When is there expected to be an installer for Matplotlib 1.1 for OSX
> 10.7?

There is one, but like all the matplotlib (and numpy and scipy) official 
binaries it uses python.org's python, not Apple's.

To go this route install python.org's Python 2.7.2 for 10.6-and-later 
(which is 64-bit) and then install the official numpy and matpotlib 
binaries.

(It is a bit of a hassle to have to install a different python, but it 
has the advantage that you can freely upgrade python itself and packages 
without fear of breaking anything in the operating system.)

There are lots of other options: Enthought has a python installer that 
includes lots of useful scientific packages. ActiveState has an 
installer with a lot of packages available (though last I checked 
matplotlib was out of date, which quite surprised me). MacPorts and 
competing package managers make it easy to install packages.

Regards,

-- Russell


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to