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

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 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 “”, line 1, in

File “/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/pyplot.py”, line 24, in

import matplotlib.colorbar

File “/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/colorbar.py”, line 27, in

import matplotlib.artist as martist

File “/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/artist.py”, line 8, in

from transforms import Bbox, IdentityTransform, TransformedBbox, \

File “/Library/Python/2.7/site-packages/matplotlib-override/matplotlib/transforms.py”, line 35, in

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.