已经使用pip安装allure,但在pycharm中导入allure模块,提示allure模块不存在,如图:

pycharm中导入allure提示模块不存在解决方法

解决方法:

  1. pycharm中点击【Preference】--》【Project Interpreter】,然后点击左下角的【+】按钮,如图pycharm中导入allure提示模块不存在解决方法
  2. 输入“allure”进行搜索,然后选择“allure-pytest”,点击左下角的【Install Package】,如图pycharm中导入allure提示模块不存在解决方法
  3. 安装成功,如图pycharm中导入allure提示模块不存在解决方法
  4. 返回编辑区,问题解决pycharm中导入allure提示模块不存在解决方法

相关文章:

  • 2021-04-13
  • 2021-12-28
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2021-12-09
  • 2021-10-04
  • 2021-09-15
猜你喜欢
  • 2021-07-16
  • 2021-09-10
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
相关资源
相似解决方案