[GRASS-user] GRASS 7, GDAL and Matplotlib (OSX)

Carlos Grohmann carlos.grohmann at gmail.com
Tue Jun 2 04:33:02 PDT 2015


Hi all

I've been using Michael Barton's GRASS7 binaries on OSX (Yosemite). It's
working fine, but I always get this message when starting GRASS:

Launching <wxpython> GUI in the background, please wait...

GRASS 7.0.0 (america_sul):~ > ERROR 1: dlopen(/Library/Application
Support/GDAL/1.11/PlugIns/gdal_GRASS.dylib, 1): no suitable image found.
Did find:

/Library/Application Support/GDAL/1.11/PlugIns/gdal_GRASS.dylib: mach-o,
but wrong architecture

ERROR 1: dlopen(/Library/Application
Support/GDAL/1.11/PlugIns/gdal_GRASS.dylib, 1): no suitable image found.
Did find:

/Library/Application Support/GDAL/1.11/PlugIns/gdal_GRASS.dylib: mach-o,
but wrong architecture



And when running through python, I can import matplotlib but not pyplot:


>>> import matplotlib

>>> import matplotlib.pyplot as plt

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File
"/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/pyplot.py",
line 24, in <module>

    import matplotlib.colorbar

  File
"/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/colorbar.py",
line 27, in <module>

    import matplotlib.artist as martist

  File
"/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/artist.py",
line 8, in <module>

    from transforms import Bbox, IdentityTransform, TransformedBbox, \

  File
"/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/transforms.py",
line 35, in <module>

    from matplotlib._path import (affine_transform,
count_bboxes_overlapping_bbox,

ImportError:
dlopen(/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/_path.so,
2): no suitable image found.  Did find:

/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/_path.so:
mach-o, but wrong architecture

>>>



Both errors related to architecture. It looks like a 32 x 64bit issue. Any
thoughts on this?

(BTW, I can use matplotlib.pyplot fine in Kyngsbury 6.4 binaries, but I'd
like to update my scripts to version 7..)



best

Carlos



-- 
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
________________
Can't stop the signal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150602/1daea26c/attachment.html>


More information about the grass-user mailing list