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

Can't find the module 'rule_sample_cppext' #5

Open
LuMflowers opened this issue Aug 3, 2021 · 3 comments
Open

Can't find the module 'rule_sample_cppext' #5

LuMflowers opened this issue Aug 3, 2021 · 3 comments

Comments

@LuMflowers
Copy link

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
Copy link

wead-hsu commented Aug 5, 2021

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
Copy link
Collaborator

mnqu commented Aug 5, 2021

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:

os.chdir('./cppext')

Thanks,
Meng

@LuMflowers
Copy link
Author

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.

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

3 participants