C:\Python27\radish>radish -b radish features/calculator.feature
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Python27\Scripts\radish.exe\__main__.py", line 5, in <module>
ImportError: No module named main
我尝试进行萝卜测试。此命令用于工作:
radish -b radish features/calculator.feature
但是现在我不知道为什么它不再起作用了......有什么想法吗?
答案 0 :(得分:0)
__ init __。py 导致了问题。我不得不删除它。