Installation HTMLTestRunner error

1.pycharm installed HTMLTestRunner given, as follows:

2. Switch to be mounted to the side cmd given below FIG.

 

the reason:

HTMLTestRunner unittest module is an extension of the Python standard library, can not be installed by pip

Solution:

You need to put into the project by manually downloading the file directory HTMLTestRunner.py files, such as: D: \ PycharmProjects \ untitled \ venv \ Lib \ site-packages

 

Guess you like

Origin www.cnblogs.com/qqyx/p/11593546.html