gsmh
Traceback (most recent call last):
File "C:/Users/HP/AppData/Local/Programs/Python/Python37/hkl.py", line 91, in
Make sure to install GMSH (http://gmsh.info/) and add it to the search PATH in Windows. In anaconda GMSH can be installed by using
conda install python-gmsh
gmsh is in the PATH (i can launch it by "gmsh" in cmd), but issue is still occured
Traceback (most recent call last):
File "form_plate_mesh.py", line 26, in
Hello... did you find a solution for this issue? I'm having the same problem and I'm not being able to fix it by adding to the PATH
Probably a more stable variant to find the path of the gmsh executable during runtime is something like:
>>> import subprocess
>>> import os
>>> cmd = "which"
>>> subprocess.call([cmd, "gmsh"])
/opt/conda/envs/modugen-core/bin/gmsh
0
>>>
See more here: https://stackoverflow.com/questions/55394905/how-to-find-the-location-of-an-executable-in-python
It's important to distinguish between Windows and Linux systems.
I have updated the detection mechanism to be able to find gmsh in more places. Site-packages are also searched now.
Jonas
Hello... did you find a solution for this issue? I'm having the same problem and I'm not being able to fix it by adding to the PATH
Please check the new release.