No module named 'allure'
时间: 2023-09-14 18:08:48 浏览: 178
allure-commandline2.14.0.rar
No module named 'allure'报错是指在Python环境中找不到名为'allure'的模块。
这个问题通常是由于没有正确安装allure模块导致的。为了解决这个问题,你需要确保已经正确安装了allure模块并且在Python环境中可用。如果你已经安装了allure-pytest模块,但仍然出现该报错,可能是因为你安装的allure-pytest版本过低。你可以尝试升级allure-pytest模块的版本,然后再次运行代码。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [PyCharm提示No module named ‘allure](https://blog.csdn.net/m0_59537708/article/details/121334699)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [python中ModuleNotFoundError: No module named ‘allure.constants‘; ‘allure‘ is not a package问题...](https://blog.csdn.net/qq_37842668/article/details/114668443)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文