Kind of weird. use_library does not exist. This works
?- use_module(library(pce)).
After which this dumps some information
?- send(@pce, info).
This also works
?- send(new(window), open).
This all with the 9.1.19 snap image.
That is an issue as the snap doesn’t have Python and (thus) also no Janus. I guess one solution is to build a snap that includes both Prolog and Python, but that feels a bit like overkill. I’m also not sure snap would be able to deal with installing Python packages and without additional packages it is quite useless. In due time Conda is likely to provide SWI-Prolog. As is, Docker is an option (but Docker is not ideal for GUI applications). Another option is to install the PPA. That should work fine, although the latest version is 9.1.18 rather than 9.1.19 due to issues with the PPA services. Installing from source is a little more work to setup, but shouldn’t take more than five minutes and after that you never face version issues anymore
sorry i did use use_module( library(pce) ) sorry not 100% today!
and yes windowing system is there. i was thinking like the main session being in a window with the optsions (like windows) but u can use the linux command line version
however - Yes i will build fomr source simpler from 9.1.19