I have the same problem with the stock version of Freecad. I have just upgraded and Freecad stopped working.
The output is the same as described above... but I have installed Freecad 0.17 beta from the Ubuntu Software package and it seems to work when I launch it from a terminal with the freecad.FreeCAD command.
If Freecad was installed previously, delete or move the old config directory:
I have the same problem with the stock version of Freecad. I have just upgraded and Freecad stopped working.
The output is the same as described above... but I have installed Freecad 0.17 beta from the Ubuntu Software package and it seems to work when I launch it from a terminal with the freecad.FreeCAD command.
If Freecad was installed previously, delete or move the old config directory:
/home/USERxxx/ snap/freecad/ 4/.config