Skip to content

Can't find the module 'rule_sample_cppext' #5

Open

Description

@LuMflowers

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!!!!

Activity

  1. wead-hsu commented on Aug 5, 2021

    @wead-hsu

    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

  2. mnqu commented on Aug 5, 2021

    @mnqu
    Collaborator

    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

  3. LuMflowers commented on Aug 5, 2021

    @LuMflowers
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions