module 'pytest' has no attribute 'allure'问题解决

安装allure后执行命令后报错module 'pytest' has no attribute 'allure'

INTERNALERROR> AttributeError: 'module' object has no attribute 'allure'

解决方法:
cmd执行如下命令:

pip uninstall pytest-allure-adaptor   ---先卸载该包
pip install allure-pytest                    ---再安装该包

posted on 2019-07-16 11:14  cherry_ning  阅读(734)  评论(0)    收藏  举报

导航