Hi there,
I am in a similar situation (Macbook and increasingly switching to
python science software) and can tell of some success and some
failure.

First, I installed the official Mac distribution from python.org for
2.6, as Apple's is always a bit behind and I wanted some of the
bugfixes in the 2.6.x releases.
This installation does NOT touch the system python at all, and you
should NOT remove the system python either, as OSX uses it for some of
it's internal stuff.
The system python in /System/Library/Frameworks/... can happily live
together with a fresher python from python.org, which will be
installed in /Library/Frameworks/... (note: without 'System' in
front).
Then I installed numpy and scipy and matplotlib, which was very easy,
as they all have binary installers for Mac and Python 2.6.
I then found the GDAL distribution from KyngChaos and as well
installed the frameworks just on top of what I had, and it all worked
like a charm! (But: I believe, one should do a logout/logon after the
Python installation, otherwise the other packages would be added to
the system python and not to your newer Python from python.org.
So far for my successes.

I then became interested in the mighty Enthought Python Distribution,
which, for academic purposes, even is absolutely free to use, because
it has a lot of powerful and useful packages included. Alas, withOUT
GDAL.

And so far, I was unsuccessful to import the existing GDAL framework
into the Enthought Python, getting weird Bus Errors. I am trying so by
copying the GDAL.pth file into the site-packages folder of Enthought,
anybody maybe has an idea, why that does not work?

By the way, I also installed the Enthought Distribution as a 3rd
Python on my system, and it's still no 'problem', one just has to make
sure, that:
1. /Library/Frameworks/Python.Framework/Versions/Current is pointing
to the distribution you currently want to use (it's a soft link)
2. your bash_profile is still pointing to the path of Versions/
Current. (Of course, each installer puts the distribution you are
installing into the path, so one needs to remove that and just point
to .../Versions/Current. That way you can control the currently used
Python Distribution by changing the symbolic link. But all this crap I
am only doing because I want to use mayavi (powerful 3D plotting
included in Enthought) and GDAL (Not in Enthought :( ).

Okay, that's my 2(.5) cents. ;)
Hope it helps! And if anybody knows how to marry GDAL with Enthought,
please let me know!
Regards,
Michael

On Apr 12, 3:43 pm, DavidFawcett <[email protected]> wrote:
> I am curious if any of you are using Matplotlib on OSX (10.6) with
> William Kyngesburye's geospatial frameworks.
>
> I really like using the system Python with William's frameworks and
> binaries, so I have hesitated to install another Python.  (or break my
> existing one...)
>
> I had hoped that it would be as easy as 'easy_install matplotlib' or
> 'pip install matplotlib'.  Lots of errors...
>
> Any help or pointers would be greatly appreciated.
>
> David.


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to