pytest生成html报告报错提示未安装html库

使用pytest --html=repoter.html生成测试报告,但是报错,搜了下大致是说没有安装pytest-html库,然后pip install pytest-html,
再次执行,依旧报这个错ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --html=repoter.html
暂时没找到原因

img

img