python -- prolog bridge error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eric_Dexter@msn.com

    #1

    python -- prolog bridge error

    I am getting an error with pyswip on xp that says the .dll isn't
    installed as a shared library. Is there a manual way to install
    the .dll as such??? prolog seems to work fine it is just the bridge
    that gives an error

  • yuce

    #2
    Re: python -- prolog bridge error


    Hello,

    PySWIP requires "libpl.dll" to be on the path. There are two ways to
    do this:

    1) Add 'bin' directory of SWI-Prolog to the PATH (it's C:\Program Files
    \pl\bin on my system),

    2) Or, copy 'libpl.dll' and 'pthreadVC.dll' to C:\WINDOWS\syst em32

    That should solve the problem, happy hacking :)

    Yuce Tekol


    On 27 Mayýs, 03:08, "Eric_Dex...@ms n.com" <Eric_Dex...@ms n.comwrote:
    I am getting an error with pyswip on xp that says the .dll isn't
    installed as a shared library. Is there a manual way to install
    the .dll as such??? prolog seems to work fine it is just the bridge
    that gives an error

    Comment

    • Eric_Dexter@msn.com

      #3
      Re: python -- prolog bridge error

      On May 27, 8:40 pm, yuce <yucete...@gmai l.comwrote:
      Hello,
      >
      PySWIP requires "libpl.dll" to be on the path. There are two ways to
      do this:
      >
      1) Add 'bin' directory of SWI-Prolog to the PATH (it's C:\Program Files
      \pl\bin on my system),
      >
      2) Or, copy 'libpl.dll' and 'pthreadVC.dll' to C:\WINDOWS\syst em32
      >
      That should solve the problem, happy hacking :)
      >
      Yuce Tekol
      >
      On 27 Mayýs, 03:08, "Eric_Dex...@ms n.com" <Eric_Dex...@ms n.comwrote:
      >
      >
      >
      I am getting an error with pyswip on xp that says the .dll isn't
      installed as a shared library. Is there a manual way to install
      the .dll as such??? prolog seems to work fine it is just the bridge
      that gives an error- Hide quoted text -
      >
      - Show quoted text -
      I am not sure how to add it to the path... I did get it to work and
      now I have a interactive screen up... I will have to look into the
      docs to see if I can get it do anything else..

      Comment

      • yuce

        #4
        Re: python -- prolog bridge error

        I've updated install doc for pyswip, you can have a look at:


        Happy hacking,

        Yuce

        Comment

        Working...