Re: installing on Mac OS X 10.6

From: Sourish Basu <S.Basu_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 08 2010 - 01:18:41 MDT

Hi Brian,

     Once upon a time I installed PyNGl/PyNIO on Snow Leopard 10.6,
before completely giving up on that OS X as a scientific computing
platform :-) Snow Leopard loves to mix and match 32-bit and 64-bit
libraries, and I suspect that is the source of your problem. The binary
you're trying to install is a 64-bit one, but perhaps one of the
dependencies (numpy, HDF4, netcdf, etc.) exists only as a 32-bit
library. You can check the architecture of a shared library (*.so) by by
executing file library.so. I don't know how to check the architecture of
static libraries (*.a).

      Also, it seems that you're trying to install a binary meant for
numpy-1.3.0 on numpy-1.5.0. I don't remember exactly, but I tried
something similar in the past (i.e., mismatched numpy versions) and it
gave me grief.

Cheers,

-Sourish

On 10/08/2010 05:07 AM, Bryan Woods wrote:
> Does anyone have experience installing pyngl and pynio in OS X 10.6?
> I have been trying to install on python 2.6.6 with NumPy 1.5.0. I
> tried installing the binary for
> "10.6-x86_64-py265-numpy130-nodap.tar.gz " but was told that it was
> for a different architecture. Additionally, I tried to install from
> source but ran into problems when it didn't accept macports packages
> out of the box. When I realized there were issues with the packages, I
> tried doing a manual install on all of the packages, but am having a
> problem with the HDF4 libraries.
>
> I've previously used NCL extensively in the past and have been
> considering picking up python. However, after spending many hours on
> this I am ready to give up out of frustration.
>
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

Received on Fri Oct 8 01:18:41 2010

This archive was generated by hypermail 2.1.8 : Mon Nov 15 2010 - 09:11:30 MST