I am trying to use Behave from terminal.
Typing behave
in terminal, I received an error,
Exception ImportError: No module named worker
File "features/environment.py", line 11, in <module>
from worker import glob, json
ImportError: No module named worker
I have made the change in my environment.py document and removed the from worker import glob, json
.
However when I execute behave, I receive the same error. I closed terminal, reopened it. I closed the text editor (Atom) and reopened it. The error persists. When I restarted the computer, it finally reflected the changes. I do not want to restart the computer every time to get behave to show the document changes.
Why is this happening and what can be done?