View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004721 | FreeCAD | Bug | public | 2021-08-08 18:27 | 2021-08-08 18:27 |
Reporter | keithsloan52 | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 0.19 | ||||
Summary | 0004721: Trying to use Gmsh python library from FreeCAD fails on gmsh.initialize with AttributeError: dlsym(RTLD_DEFAULT, gmshInitialize) | ||||
Description | If pip install gmsh python library under native python everything works, All be it my standard python3 is 3.9.5 If I install under FreeCAD with pip install gmsh -t<FreeCAD python Path> Then from the python console I can successfully import gmsh But if I try gmsh.initialize() I get gmsh.initialize() 19:13:10 File "/Applications/FreeCAD 0.19.1.app/Contents/Resources/lib/python3.8/site-packages/gmsh.py", line 232, in initialize 19:13:10 lib.gmshInitialize( 19:13:10 File "/Applications/FreeCAD 0.19.1.app/Contents/Resources/lib/python3.8/ctypes/__init__.py", line 386, in __getattr__ 19:13:10 func = self.__getitem__(name) 19:13:10 File "/Applications/FreeCAD 0.19.1.app/Contents/Resources/lib/python3.8/ctypes/__init__.py", line 391, in __getitem__ 19:13:10 func = self._FuncPtr((name_or_ordinal, self)) 19:13:10 AttributeError: dlsym(RTLD_DEFAULT, gmshInitialize): symbol not found Have tried raising as an issue at gmsh github without success | ||||
Steps To Reproduce | pip3 install gmsh -t<Path to valid FreeCAD library> from FreeCAD python Console import gmsh gmsh.initialize() | ||||
Tags | No tags attached. | ||||
FreeCAD Information | OS: macOS 10.15 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.24276 (Git) Build type: Release Branch: (HEAD detached at 0.19.1) Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438 Python version: 3.8.8 Qt version: 5.12.9 Coin version: 4.0.0 OCC version: 7.4.0 Locale: C/Default (C) | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-08-08 18:27 | keithsloan52 | New Issue |