<div dir="ltr">HI!<div><br></div><div>First, thanks for using my software! Second, I had a problem with the latest version of GMSH, it may have been the same error. Luckily, I had an old version of gmsh laying around that works, version 2.10.1-dynamic.</div><div><br></div><div>The gmsh crew unfortunately does not keep old versions of the dynamic version, but I can get you it if you need.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 3:05 PM, Felicity Graham <span dir="ltr"><<a href="mailto:felicity.s.graham@gmail.com" target="_blank">felicity.s.graham@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Guillaume, <div><br></div><div>Yep, the gmshpy dir is in my PYTHONPATH, but I still get the same error.</div><div><br></div><div>felicity$ echo $PYTHONPATH <br></div><div>
<p><span>...:/usr/local/lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages/gmshpy:/Users/felicity/software/gmsh-2.11.0-dynamic-svn-MacOSX/gmshpy/src:/Users/felicity/software/gmsh-2.11.0-dynamic-svn-MacOSX/gmshpy/build/lib.macosx-10.10-x86_64-2.7/gmshpy</span></p><p>Cheers,</p><p>Felicity</p></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On 22 February 2016 at 19:07, Guillaume Demesy <span dir="ltr"><<a href="mailto:guillaume.demesy@fresnel.fr" target="_blank">guillaume.demesy@fresnel.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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<div><div><br>
<br>
<div>Le 22/02/2016 00:17, Felicity Graham a
écrit :<br>
</div>
</div></div><blockquote type="cite"><div><div>
<div dir="ltr">
<p><span>Hello, </span></p>
<p>I've installed gmshpy on mac osx 10.10 following the
instructions at <a href="http://qssi.cs.umt.edu/wiki/index.php/Setup" target="_blank">http://qssi.cs.umt.edu/wiki/index.php/Setup</a>. </p>
<p>I get an ImportError when I try to import any gmshpy
modules, as per below:</p>
<p><span>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>
<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 href="http://imas.utas.edu.au" target="_blank">imas.utas.edu.au</a></span></div>
<div><img src="https://docs.google.com/uc?export=download&id=0B4lWanjYkF1sWTZBempXSURWdzQ&revid=0B4lWanjYkF1sWFFONG1mUDZEVklvY1JGSmtnKzdvUDh6anJzPQ"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
gmsh mailing list
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a>
<a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><b style="font-size:13.3333330154419px">Felicity Graham</b><br></div><div><div><div class="h5"><span style="font-size:13.3333330154419px">Ice Sheet Modeller<br></span><span style="font-size:12.8000001907349px">Antarctic Gateway Partnership<br></span><span style="font-size:12.8000001907349px">Institute for Marine and Antarctic Studies (IMAS)<br></span><span style="font-size:12.8000001907349px">University of Tasmania<br></span><span style="font-size:12.8000001907349px">Hobart TAS 7000<br></span></div></div><span style="font-size:12.8000001907349px">M 0401 797 934<br></span><span style="font-size:12.8000001907349px"><a href="http://imas.utas.edu.au" target="_blank">imas.utas.edu.au</a></span></div><div><img src="https://docs.google.com/uc?export=download&id=0B4lWanjYkF1sWTZBempXSURWdzQ&revid=0B4lWanjYkF1sWFFONG1mUDZEVklvY1JGSmtnKzdvUDh6anJzPQ"><br></div></div></div></div></div></div></div></div>
</div>
<br>_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Evan Cummings</div><div><br></div><div><span style="font-size:12.8000001907349px">The University of Montana </span><span style="font-size:12.8000001907349px">Group For Quantitative Study of Snow and Ice</span></div><div>ISB 405</div><div>32 Campus Dr</div><div>Missoula, MT 59812<br>406.624.9762</div></div></div>
</div>