Hey everyone,
I’ve been encountering an unexpected issue with pack_install
in SWI-Prolog version 9.2.0. It seems that it mysteriously stopped accepting GitHub URLs, causing errors during installation. I’m attempting to install Prolog packs directly from GitHub using pack_install
. Here’s an example of the URL I’m trying to install:
pack_install('https://github.com/fnogatz/date_time/archive/v0.1.4.zip').
I’m using: SWI-Prolog version 9.2.0
I want the code to: Install packages from GitHub using pack_install
.
But what I’m getting is: Type errors indicating that text
was expected but version([0,1,4])
were found.
My code looks like this:
?- pack_install('https://github.com/fnogatz/date_time/archive/v0.1.4.zip').
ERROR: Type error: `text' expected, found `version([0,1,4])' (a compound)
It seems like pack_install is not interpreting the version numbers correctly when provided with GitHub URLs.
Has anyone else experienced this issue or knows of a workaround? Any help would be greatly appreciated!
Thanks.