In article <BANLkTi=bj2vGaYcqwCLK+kSz_QEQm-4-7A@...>,
Rebecca Gray <atlasrrg@...> wrote:
> I am trying to install matplotlib on my Mac OS X 10.6.6. I currently have
> Python 2.7.2 installed. I tried installing
> The installation appears to run fine, but when I try to import pylab * I am
> getting the following error message:
> >>> from numpy import *
> >>> import pylab
> 2): no suitable image found. Did find:
> no matching architecture in universal wrapper
> I am new to Python and any help would be greatly appreciated.
Which Python 2.7.2 are you using? The matplotlib installer is only
compatible with the 32-bit version from python.org and I suspect you are
using the 64-bit version or some other distribution entirely.
If you are definitely using the 32-bit python.org version then could you
please execute the "file" command on _path.so?
When I do that for mine I get:
d-172-28-191-121:matplotlib rowen$ file _path.so
_path.so: Mach-O universal binary with 2 architectures
_path.so (for architecture ppc): Mach-O bundle ppc
_path.so (for architecture i386): Mach-O bundle i386