I try to run a Gmsh python script from the command line (or from PyCharm or Spyder)
gmsh script.py
but I get the following error:
sh: 1: python: not found
also in the Gmsh console there is this error:
Done - 1 error : Abnormal server termination (Socket listening timeout on socket /home/user/.gmshsock2)
I did check python3 version which looks fine:
$ python3 --version
Python 3.10.4
What could be the problem?
Can anyone help to solve this ?
Thanks
Oli