使用 brew 安装 allure 方法(记录一下)

1. 输入命令

brew install allure

2.如果提示:

error: could not lock config file .git/config: Permission denied

Error: Command failed with exit 255: git 

3. 分别输入

sudo chgrp -R admin /usr/local  提示:chgrp: /usr/local: Operation not permitted

sudo chmod -R g+w /usr/local   提示:chmod: Unable to change file mode on /usr/local: Operation not permitted

4. 重新输入 brew install allure 即可安装成功

5. allure --version 查询

上一篇:杭州市民卡医保改造,使用动态库调取医保电子凭证方法


下一篇:Pytest 系列(29)- 详解 allure.dynamic 动态生成功能