I think you are right. importing only matplotlib works, but pyplot doesn't, so it should related to wxpython.
best Carlos On Tue, Jul 1, 2014 at 10:20 AM, William Kyngesburye <[email protected]> wrote: > Is that within the GRASS GUI? That makes sense since Michael is probably > still using the old Carbon wxpython, which has to run in 32 bit mode. My > matplotlib is 64 bit only. I have problems getting it to compile both 32 > and 64 bits. > > On Jul 1, 2014, at 7:21 AM, Carlos Grohmann <[email protected]> > wrote: > > > Hi there > > > > Sorry, my mistake > > > > It's the Dakota GIS Team who's using a VM. I'd just read that and it got > stuck in my head. > > > > I re-checked it today and William's binaries are working fine (python > complains about LucidaGrande fonte, but that's it): > > > > 2014-07-01 09:01:14.232 Python[21856:d0b] CoreText performance note: > Client called CTFontCreateWithName() using name ".Lucida Grande UI" and got > font with PostScript name ".LucidaGrandeUI". For best performance, only use > PostScript names when calling this API. > > > > The problems are actually with Michael Barton's GRASS-7.0 binaries. (I > want to look at the global MOLA dataset, so went with v7.0 since it already > has the planetary bodies listed on the Location wizard) > > > > In it, I can import matplotlib, but this: > > > > import matplotlib.pyplot as plt > > > > gives me this: > > > > > > 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 > > >>> > > > > > > > > > > sorry about the confusion > > > > best > > > > Carlos > > > > > > > > > > On Mon, Jun 30, 2014 at 10:08 PM, Anna Petrášová <[email protected]> > wrote: > > Hi, > > > > > > On Mon, Jun 30, 2014 at 7:57 PM, William Kyngesburye < > [email protected]> wrote: > > What are the errors? Do you have simple examples I can try? I updated > matplotlib and GDAL a month ago and this is the first I've heard of > problems. I am not packaging with a virtual machine. > > > > I did hear about GRASS problems. There are font warnings due to a slip > in wxPython bugfixing - fixed for wx Carbon but not wx Cocoa. I am now > using wxPython 3 Cocoa, and I read that there were fixes in GRASS for that > version, but maybe there are other problems, or it may be an OS X thing. > > > > Regarding wxPython3 Cocoa, there is still a lot of problems. I found > several tickets on wxWidgets which we are affected by and only for some of > them there is a workaround. WxGUI works only to certain extent, but there > are problems with dialog modality, map selection widget, toolbars and other > pretty serious things. On the other hand, wxnviz seems to work pretty well, > although switching back to 2D mode, makes the GUI unresponsive which is bug > in a notebook widget, not wxNviz. > > > > On Jun 30, 2014, at 3:28 PM, Carlos Grohmann <[email protected]> > wrote: > > > > > Hello, apologies for cross-posting but this might be happening to > other users > > > > > > After installing the latest packages updates from William Kyngesburye > on OSX 10.9 Mavericks, I'm getting lots of errors, both in Matplotlib and > GDAL. From what I could see, that all return the "mach-o, but wrong > architecture" error, so this might be related to William's recent setup for > packaging using a virtual machine. > > > > > > I'm also getting the some errors with wxpython running GRASS 6.4.4 > > > > > > Unfortunately for me, Matplotlib is pretty much essential, so I'm > hoping this issues get fixed soon. > > > > sorry, no idea about this > > > > Anna > > > > > > > > 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. > > > _______________________________________________ > > > Qgis-user mailing list > > > [email protected] > > > http://lists.osgeo.org/mailman/listinfo/qgis-user > > > > ----- > > William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> > > http://www.kyngchaos.com/ > > > > "Those people who most want to rule people are, ipso-facto, those least > suited to do it." > > > > - A rule of the universe, from the HitchHiker's Guide to the Galaxy > > > > > > _______________________________________________ > > grass-user mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/grass-user > > > > > > > > > > -- > > 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. > > _______________________________________________ > > grass-user mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/grass-user > > ----- > William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> > http://www.kyngchaos.com/ > > "Time is an illusion - lunchtime doubly so." > > - Ford Prefect > > > -- 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.
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
