dodaro / cnl2asp

A tool for converting CNL sentences to ASP rules.
https://dodaro.github.io/cnl2asp/
Apache License 2.0
1 stars 0 forks source link

No module named 'src' #1

Closed yilinxia closed 2 years ago

yilinxia commented 2 years ago

Hi there,

We are trying to run the code but encounter the issue below, could you please take a look at it?

python 3.10.6
lark 1.1.2
(python310) Yilins-MacBook-Pro-2:cnl2asp yilinxia$ python3.10 src/main.py src/examples/3Col 3Col.lp
Traceback (most recent call last):
  File "/Users/yilinxia/cnl2asp/src/main.py", line 3, in <module>
    from cnl.compile import CNLFile, CNLCompiler, DefinitionError
  File "/Users/yilinxia/cnl2asp/src/cnl/compile.py", line 10, in <module>
    from src.cnl.parse import *
ModuleNotFoundError: No module named 'src'
dodaro commented 2 years ago

Thanks! It was a bug with an import. It should be fixed now.