aig-upf / tarski

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

Clingo `pypi` ImportError: "DLL load failed" #127

Closed anubhav-cs closed 2 years ago

anubhav-cs commented 2 years ago

Adding this to issues for anyone who faces this error in the future

I encountered the following error when tarski attempts to import clingo on windows.

ImportError: "DLL load failed" while importing _clingo

The error implies that there is a dll that the python module is unable to locate, Here, _clingo is unable to locate a dll. The missing dll can be found using Dependency Walker.

Resolution- Install vc-redist. The dependency was MSVCP140.dll which comes with visual c++ redistributable latest vc-redist.

anubhav-cs commented 2 years ago

Nothing to be done.