在Mac电脑上用pytest- allure生成测试报告失败sh: allure: command not found 有解决方法吗

######在Mac电脑上用pytest- allure生成测试报告失败sh: allure: command not found
有解决方法吗

allure的环境变量问题

你没有安装包

pytest- allure装了后,你还要去官网下allure包,然后配置下,就可以了