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 not execute test.py in test file #27

Open
jmo2014 opened this issue Oct 16, 2020 · 1 comment
Open

Can not execute test.py in test file #27

jmo2014 opened this issue Oct 16, 2020 · 1 comment

Comments

@jmo2014
Copy link

jmo2014 commented Oct 16, 2020

Anyone has issue with test.py? When I execute the file, the console tells me that the No module named 'cmake_example'. Any one knows how to deal with this problem?

Traceback (most recent call last):
File "/Users/jiaqimo/cmake_example/tests/test.py", line 1, in
import cmake_example as m
ModuleNotFoundError: No module named 'cmake_example'

@henryiii
Copy link
Collaborator

You have to install cmake_example before running that file. pip install . or similar (probably in a virtual environment).

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