cmake_example icon indicating copy to clipboard operation
cmake_example copied to clipboard

Can not execute test.py in test file

Open jmo2014 opened this issue 5 years ago • 1 comments

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'

jmo2014 avatar Oct 16 '20 09:10 jmo2014

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

henryiii avatar May 20 '21 13:05 henryiii