解决方法1:
1、pip uninstall pytest-allure-adaptor
2、pip install allure-pytest
解决方法2:
1、pip install pytest
2、pip install allure-pytest
解决方法3:
1、Pycharm软件中点击Terminal,cd切换至要运行的项目,输入语句:pytest --alluredir ./report/allure_raw
再进入需要运行的文件目录进行cmd,进入到cmd环境,输入命令:allure serve report/allure_raw,启动服务