aig-upf / tarski

Tarski - An AI Planning Modeling Framework
Apache License 2.0
59 stars 19 forks source link

Windows support #134

Closed alvalentini closed 10 months ago

alvalentini commented 2 years ago

I tried to use tarski in windows but when I try to import the grounders I get this error:

     from tarski.grounding import LPGroundingStrategy, NaiveGroundingStrategy # type: ignore
C:\hostedtoolcache\windows\Python\3.9.10\x64\lib\site-packages\tarski\grounding\__init__.py:4: in <module>
    from .lp_grounding import LPGroundingStrategy
C:\hostedtoolcache\windows\Python\3.9.10\x64\lib\site-packages\tarski\grounding\lp_grounding.py:4: in <module>
    from ..utils.command import silentremove
C:\hostedtoolcache\windows\Python\3.9.10\x64\lib\site-packages\tarski\utils\command.py:72: in <module>
    libc = ctypes.CDLL(None)
C:\hostedtoolcache\windows\Python\3.9.10\x64\lib\ctypes\__init__.py:364: in __init__
    if '/' in name or '\\' in name:
E   TypeError: argument of type 'NoneType' is not iterable

In ubuntu the same code works well.

miquelramirez commented 10 months ago

We do not plan to provide a Windows gringo interface in the foreseeable future.