FATAL ERROR: Could not find system resources

437 views
Skip to first unread message

Juanjo Conti

unread,
Jan 4, 2010, 7:33:36 PM1/4/10
to pyswip
I'm using Ubuntu 9.04.
I've installed swi-prolog, python-ctypes but when I try to use it, I
get this error:

>>> import pyswip
[FATAL ERROR:
Could not find system resources]

What am I missing?

Thanks,

Juanjo Conti

unread,
Jan 4, 2010, 7:35:58 PM1/4/10
to pyswip
2010/1/4 Juanjo Conti <jjc...@gmail.com>

The problems seems to be related to http://www.swi-prolog.org/FAQ/FindResources.html

How can I fix it?

Thanks,

--
Juanjo Conti
blog: http://www.juanjoconti.com.ar

yuce

unread,
Jan 4, 2010, 7:41:14 PM1/4/10
to pyswip
Hello,

Did you install SWI Prolog from Ubuntu's repo? Or did you compile it
yourself?

Yuce


On Jan 5, 2:35 am, Juanjo Conti <jjco...@gmail.com> wrote:
> 2010/1/4 Juanjo Conti <jjco...@gmail.com>


>
> > I'm using Ubuntu 9.04.
> > I've installed swi-prolog, python-ctypes but when I try to use it, I
> > get this error:
>
> > >>> import pyswip
> > [FATAL ERROR:
> >        Could not find system resources]
>
> > What am I missing?
>
> > Thanks,
>

> The problems seems to be related tohttp://www.swi-prolog.org/FAQ/FindResources.html

Juanjo Conti

unread,
Jan 4, 2010, 7:47:02 PM1/4/10
to pys...@googlegroups.com
2010/1/4 yuce <yuce...@gmail.com>

Hello,

Did you install SWI Prolog from Ubuntu's repo? Or did you compile it
yourself?


I installed it from the repo.

yuce

unread,
Jan 4, 2010, 7:53:26 PM1/4/10
to pyswip

The SWI Prolog package on Ubuntu (which is the same one from Debian)
doesn't have the required SWI Prolog shared library, you have to
compile SWI-Prolog yourself, please see: http://code.google.com/p/pyswip/wiki/INSTALL.

Also pyswip doesn't work on 64 bit platforms.

I hope that helps,

Yuce


On Jan 5, 2:47 am, Juanjo Conti <jjco...@gmail.com> wrote:
> 2010/1/4 yuce <yucete...@gmail.com>

Juanjo Conti

unread,
Jan 4, 2010, 9:00:07 PM1/4/10
to pys...@googlegroups.com
2010/1/4 yuce <yuce...@gmail.com>


The SWI Prolog package on Ubuntu (which is the same one from Debian)
doesn't have the required SWI Prolog shared library, you have to
compile SWI-Prolog yourself, please see: http://code.google.com/p/pyswip/wiki/INSTALL.


Ok. I still have a problem:

juanjo@fenix:~/prolog$ tar xvfz pl-5.6.34.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Salida con error demorada desde errores anteriores

yuce

unread,
Jan 4, 2010, 9:08:46 PM1/4/10
to pyswip

It seems they removed old versions from the site, try:

http://www.swi-prolog.org/download/stable/src/pl-5.8.2.tar.gz

Yuce

On Jan 5, 4:00 am, Juanjo Conti <jjco...@gmail.com> wrote:
> 2010/1/4 yuce <yucete...@gmail.com>
>
>
>

Juanjo Conti

unread,
Jan 5, 2010, 5:35:13 AM1/5/10
to pys...@googlegroups.com


2010/1/4 yuce <yuce...@gmail.com>


It seems they removed old versions from the site, try:

http://www.swi-prolog.org/download/stable/src/pl-5.8.2.tar.gz


I worked! Documentation should be updated.
Reply all
Reply to author
Forward
0 new messages