<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello - Have you appened the gmshpy dir to your PYTHONPATH?
Something like:<br>
export
PYTHONPATH="~/programs/gmsh/gmsh_test/build/wrappers:/usr/local/lib/python2.7/site-packages:$PYTHONPATH"<br>
Regards, Guillaume<br>
<br>
<div class="moz-cite-prefix">Le 22/02/2016 00:17, Felicity Graham a
écrit :<br>
</div>
<blockquote
cite="mid:CAH5X5=xGRKkDH_xWYoq8TEtYVOgNMSYdTn13rpbb=X2NtXJzSg@mail.gmail.com"
type="cite">
<div dir="ltr">
<p class=""><span class="">Hello, </span></p>
<p class="">I've installed gmshpy on mac osx 10.10 following the
instructions at <a moz-do-not-send="true"
href="http://qssi.cs.umt.edu/wiki/index.php/Setup">http://qssi.cs.umt.edu/wiki/index.php/Setup</a>. </p>
<p class="">I get an ImportError when I try to import any gmshpy
modules, as per below:</p>
<p class=""><span class="">felicitygraham-tb:~ felicity$ python
-c "from gmshpy import GModel"<br>
</span>Traceback (most recent call last):<br>
File "<string>", line 1, in <module><br>
File
"/usr/local/lib/python2.7/site-packages/gmshpy/__init__.py",
line 5, in <module><br>
from gmshpy.gmshCommon import *<br>
File
"/usr/local/lib/python2.7/site-packages/gmshpy/gmshCommon.py",
line 26, in <module><br>
_gmshCommon = swig_import_helper()<br>
File
"/usr/local/lib/python2.7/site-packages/gmshpy/gmshCommon.py",
line 22, in swig_import_helper<br>
_mod = imp.load_module('_gmshCommon', fp, pathname,
description)<br>
ImportError:
dlopen(/usr/local/lib/python2.7/site-packages/gmshpy/_gmshCommon.so,
2): Symbol not found:<br>
__Z13GmshGetOptionRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES7_RS5_i<br>
Referenced from:
/usr/local/lib/python2.7/site-packages/gmshpy/_gmshCommon.so<br>
Expected in: flat namespace<br>
in
/usr/local/lib/python2.7/site-packages/gmshpy/_gmshCommon.so</p>
<div>The gmshpy install log is attached. </div>
<div><br>
</div>
<div>Any help would be appreciated.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Felicity</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><b style="font-size:13.3333px">Felicity
Graham</b><br>
</div>
<div><span style="font-size:13.3333px">Ice Sheet
Modeller<br>
</span><span style="font-size:12.8px">Antarctic
Gateway Partnership<br>
</span><span style="font-size:12.8px">Institute
for Marine and Antarctic Studies (IMAS)<br>
</span><span style="font-size:12.8px">University
of Tasmania<br>
</span><span style="font-size:12.8px">Hobart TAS
7000</span><span style="font-size:12.8px"><br>
</span><span style="font-size:12.8px"><a
moz-do-not-send="true"
href="http://imas.utas.edu.au"
target="_blank">imas.utas.edu.au</a></span></div>
<div><img moz-do-not-send="true"
src="https://docs.google.com/uc?export=download&id=0B4lWanjYkF1sWTZBempXSURWdzQ&revid=0B4lWanjYkF1sWFFONG1mUDZEVklvY1JGSmtnKzdvUDh6anJzPQ"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gmsh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gmsh@onelab.info">gmsh@onelab.info</a>
<a class="moz-txt-link-freetext" href="http://onelab.info/mailman/listinfo/gmsh">http://onelab.info/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<br>
</body>
</html>