51Testing软件测试论坛

标题: 运行测试代码,报这个错是啥原因呐 [打印本页]

作者: 测试积点老人    时间: 2022-7-20 13:36
标题: 运行测试代码,报这个错是啥原因呐
运行测试代码,报这个错是啥原因呐,下面代码是报错内容,麻烦各位同学瞅瞅啊!

  1. E:\python-3.7.0-embed-amd64\python3.exe "E:\PyCharm Community Edition 2021.2.3\plugins\python-ce\helpers\pycharm\_jb_pytest_runner.py" --path F:/CyanPy/lanhuWeb/TestCases/test_login.py
  2. Testing started at 11:43 ...
  3. Traceback (most recent call last):
  4.   File "E:\PyCharm Community Edition 2021.2.3\plugins\python-ce\helpers\pycharm\_jb_pytest_runner.py", line 11, in <module>
  5.     from _jb_runner_tools import jb_patch_separator, jb_doc_args, JB_DISABLE_BUFFERING, start_protocol, parse_arguments, \
  6. ModuleNotFoundError: No module named '_jb_runner_tools'

  7. Process finished with exit code 1

  8. Empty suite
复制代码



作者: qqq911    时间: 2022-7-21 10:23
引入的东西错了
作者: 海海豚    时间: 2022-7-21 11:27
No module named '_jb_runner_tools'  找不到这个,看下是定义的时候出错,还是缺失对应的第三方库




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2