python can't find xfem


I’m trying to install ngsxfem using Windows Subsystem for Linux running Ubuntu 18.04.4 LTS. I didn’t encounter any errors during the installation, but when I try to use it I get “ModuleNotFoundError: No module named ‘xfem’”

Did I perhaps install it in the wrong place? I set my INSTLOCATION to /usr/bin and it didn’t complain, but I don’t actually know if that’s right.

Any advice would be appreciated.


I am not an expert on the Windows Subsystem for Linux, but we had problems before with “/usr/bin” as INSTLOCATION. I guess “/usr” should work, although a purely local installation is typically prefered. Can’t you check where the installation ended up (In doubt simply search for the “xfem”-directory.

Hope this brings you further, best,

Using ‘/usr’ seems to have fixed the problem.
Thanks for the help.