Installation Requirements pytest-html will work with Python >=3.6 or PyPy3. Installing pytest-html To install pytest-html using pip: $ pip install pytest-html To install from source: $ pip install -e .