AttributeError: python3: undefined symbol: gmshInitialize
Good morning, I just try to use the python gmsh API and I got this error:
Traceback (most recent call last):
File "t1.py", line 6, in <module>
gmsh.initialize()
File "/home/kenn/Data/S/M2MPEMeca/Stage/1-hybride-par-zone/gmsh.py", line 217, in initialize
lib.gmshInitialize(
File "/usr/lib/python3.7/ctypes/__init__.py", line 369, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python3.7/ctypes/__init__.py", line 374, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: python3: undefined symbol: gmshInitialize
I'm on Debian 10 and install the gsmh sdk by using pip install gmsh-sdk
. I have also try to add the "lib" directory from the SDK to PYTHONPATH, with export PYTHONPATH=${PYTHONPATH}:${PWD}/lib
.
Can you help me please ?
Edited by Kenneth