I followed the set of instructions for this open source.
At step 3, I am supposed to run
py.test tests/functional/
When I do so, I get
ModuleNotFoundError: No module named 'textx'
However, when I type textx
, it's definitely working as a command.
Where did I go wrong?
Run
export PYTHONPATH=.
before running thepy.test tests/functional/
and it should work.This error may have occurred because I installed textX outside my virtual environment after creating the virtual environment.