pycharm中使用allure报AttributeError: module 'pytest' has no attribute 'allure'错误

原因可能由于:因为pytest-allure-adaptor库基本被python3放弃了,运行很不友好,所以报错

解决方法:

terminal中先卸载:pip uninstall pytest-allure-adaptor  再安装:pip allure-pytest 

若安装找不到该模块可以去设置那下载

pycharm中使用allure报AttributeError: module 'pytest' has no attribute 'allure'错误

相关文章: