[GRASS-user] import wx

Matthias Oswald matthiasoswald at hotmail.com
Fri Jul 16 08:39:00 EDT 2010


Hi list,
I'writing a python-script with a wx-gui (not in grass style) including some grass-commands.Therefore I want to import the wx library by using:

import wx

Running this line in a normal terminal is working fine. But running it in the grass terminal causes an error:

  File "/BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/__init__.py", line 45, in <module>  File "/BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py", line 4, in <module>ImportError: dlopen(/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx/_core_.so, 2): Symbol not found: __ZN15wxPoint2DDouble14SetVectorAngleEe  Referenced from: /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx/_core_.so  Expected in: /Applications/GRASS-6.4.app/Contents/MacOS/lib/libwx_macud-2.8.0.dylib

I'm working on Mac OS x with GRASS 6.4.0 RC5
Any ideas to solve this problem?

 		 	   		  
_________________________________________________________________
Facebook Fotos und Updates direkt im Messenger sehen: hier findest Du weitere Informationen.
http://de.messengerlounge.ch/facebook.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100716/73305d36/attachment.html


More information about the grass-user mailing list