DeepGraphLearning / RNNLogic

120 stars 25 forks source link

Can't find the module 'rule_sample_cppext' #5

Open LuMflowers opened 3 years ago

LuMflowers commented 3 years ago

When I run the "run.py" in the "codes" directory, there is an error " ModuleNotFoundError: No module named 'rule_sample_cppext' ", and I can't find where the module is. Could you tell me where to import the module? Thank you!!!!

wead-hsu commented 3 years ago

When I run the "run.py" in the "codes" directory, there is an error " ModuleNotFoundError: No module named 'rule_sample_cppext' ", and I can't find where the module is. Could you tell me where to import the module? Thank you!!!!

just cd cppext and python setup.py install

mnqu commented 3 years ago

Sorry that we missed the message. Just as wead-hsu pointed out, you can cd cppext and run python setup.py install. You could also find the commands at: https://github.com/DeepGraphLearning/RNNLogic/blob/318d1f598b615a7697be0cbdc545f1f575eaf167/codes/run.py#L35

Thanks, Meng

LuMflowers commented 3 years ago

Thank you for your reply. But I still have some questions about how to run the codes of Version 2. Could you please give some specific implementations of Version 2 just like Version 1. Thanks a lot.