module ‘pytest’ has no attribute ‘allure’ 解决 At first remove old version and install new: pip uninstall pytest-allure-adaptor pip install allure-pytest