解决:main.py: error: unrecognized arguments: --html

怎么运行都不行,无论是右键点击main.py还是在命令行运行python main.py,都报这个错

网上有人说是多个python版本共存的问题,我排查了下,环境没毛病,最后突然想起是不是没装pytest-html,果然装了下就可以运行了

pip install pytest-html

解决:main.py: error: unrecognized arguments: --html

 

相关文章:

  • 2021-07-09
  • 2022-12-23
  • 2021-10-09
  • 2021-07-01
  • 2021-08-28
  • 2021-10-24
猜你喜欢
  • 2021-07-17
  • 2022-12-23
  • 2021-09-20
  • 2021-12-18
  • 2021-06-07
  • 2021-05-30
  • 2022-12-23
相关资源
相似解决方案