I’m using: SWI-Prolog version 10.1.10-27-gb662174c4
test.pl:
:- use_module(library(janus)).
test :-
py_call(list, _, [py_object(true)]).
Run goal which calls py_call/3
101 ?- test.
% Interactive session; added `.` to Python `sys.path`
true.
In the terminal which started swipl-win I see an unexpected message. Is this a symptom of anything untoward?
mike@meepi01:~/odd_and_sods$ swipl-win test.pl
Thread 3 (con1): foreign predicate janus:py_call/3 did not clear exception:
error(python_error(ModuleNotFoundError,<py_ModuleNotFoundError>(0xffff6c2f28c0)),_19836)