Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDDL parser #11

Open
avivt opened this issue Nov 13, 2023 · 2 comments
Open

PDDL parser #11

avivt opened this issue Nov 13, 2023 · 2 comments

Comments

@avivt
Copy link

avivt commented Nov 13, 2023

In: domains/blocksworld/description_generator.py

There's an import:

from pddl_parser import pddl_file

Can you please specify how to obtain pddl_parser?

@Cranial-XIX
Copy link
Owner

Cranial-XIX commented Nov 13, 2023

Hi,

Thanks for reaching out. The pddl_parser should come with the fast downward installation. You can check our README on how to install it. In addition, the code of pddl_parser is located here in fast downward. After installation, if you want to use the specific module, you have to set the PYTHONPATH

export PYTHONPATH=$PYTHONPATH:path_to_downward/src/translate

Then you should be able to do

import pddl_parser

Hopefully that resolves your issue.

@avivt
Copy link
Author

avivt commented Nov 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants