执行pytest,ModuleNotFoundError:没有名为'allure\u pytest.plugin'的模块

搞半天不知道是哪里出了问题,求大佬解疑答惑

你截图下你的安装包和导入的库有哪些看看

check下pytest的版本

检查一下pytest和allure的运行环境是不是都准备好了,运行方式和规则是不是都按照pytest的来