Bug#928376: python3-gmsh: fail to use python API
Pierre Joyot
p.joyot at estia.fr
Fri May 3 09:54:10 BST 2019
Package: python3-gmsh
Version: 4.1.3+ds1-1
Severity: important
Dear Maintainer,
Python fail to find gmsh lib.
$ python3
Python 3.7.3rc1 (default, Mar 13 2019, 11:01:15)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gmsh
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gmsh.py", line 29, in <module>
lib = CDLL(os.path.join(libdir, "libgmsh.so"))
File "/usr/lib/python3.7/ctypes/__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/python3/dist-packages/libgmsh.so: cannot open shared object
file: No such file or directory
>>>
using
sudo ln -s /usr/lib/x86_64-linux-gnu/libgmsh.so.4.1 /usr/lib/python3/dist-
packages/libgmsh.so
solve the problem
Sincerely yours
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-gmsh depends on:
ii libgmsh4.1 4.1.3+ds1-1
ii python3 3.7.2-1
Versions of packages python3-gmsh recommends:
ii gmsh 4.1.3+ds1-1
python3-gmsh suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list