This smells like an xtools problem. Seems like the path to your C compiler is wrong.
If you can’t fix it and need to manually specify the compiler path, you can make a .pytensorrc
file in your home directory and put the gxx path in there so you don’t have to do it every time you make a model. Docs here.