[Gmsh] Gmshpy import error -- symbol not found

Felicity Graham felicity.s.graham at gmail.com
Mon Feb 22 00:17:21 CET 2016


Hello,

I've installed gmshpy on mac osx 10.10 following the instructions at
http://qssi.cs.umt.edu/wiki/index.php/Setup.

I get an ImportError when I try to import any gmshpy modules, as per below:

felicitygraham-tb:~ felicity$ python -c "from gmshpy import GModel"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/gmshpy/__init__.py", line 5,
in <module>
    from gmshpy.gmshCommon import *
  File "/usr/local/lib/python2.7/site-packages/gmshpy/gmshCommon.py", line
26, in <module>
    _gmshCommon = swig_import_helper()
  File "/usr/local/lib/python2.7/site-packages/gmshpy/gmshCommon.py", line
22, in swig_import_helper
    _mod = imp.load_module('_gmshCommon', fp, pathname, description)
ImportError:
dlopen(/usr/local/lib/python2.7/site-packages/gmshpy/_gmshCommon.so, 2):
Symbol not found:
__Z13GmshGetOptionRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES7_RS5_i
  Referenced from:
/usr/local/lib/python2.7/site-packages/gmshpy/_gmshCommon.so
  Expected in: flat namespace
 in /usr/local/lib/python2.7/site-packages/gmshpy/_gmshCommon.so
The gmshpy install log is attached.

Any help would be appreciated.

Cheers,
Felicity

-- 
*Felicity Graham*
Ice Sheet Modeller
Antarctic Gateway Partnership
Institute for Marine and Antarctic Studies (IMAS)
University of Tasmania
Hobart TAS 7000
imas.utas.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160222/42a04955/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmshpy.log
Type: application/octet-stream
Size: 13955 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160222/42a04955/attachment.log>


More information about the gmsh mailing list