Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'No module named 'HTMLTestRunner' #21

Open
grazielegs opened this issue Aug 9, 2017 · 4 comments
Open

'No module named 'HTMLTestRunner' #21

grazielegs opened this issue Aug 9, 2017 · 4 comments

Comments

@grazielegs
Copy link

grazielegs commented Aug 9, 2017

Hi guys, I meet HTMLTestRunner when I was studying about unittest and think it's a useful library to expand my tests.
So, I'm trying to execute some test suites and I'm receiving this error:

from HTMLTestRunner import HTMLTestRunner
ModuleNotFoundError: No module named 'HTMLTestRunner'

I've downloaded the project from git and extracted the files in my project directory but don't work.
My suite are okay, cause I was executing them just using nose and unittest but when I include this library they stop work :/

I've read some issues here but they don't help to much.
I'm using Python 3.6 and my SO is Windows 7 64bits.

@shivakchepyala
Copy link

shivakchepyala commented Dec 18, 2017

Hi, I am trying to import HTMLTestRunner to generate HTML report for my script but couldn't import it. Showing an error: 'No module named HTMLTestRunner'.
Also tried installing the package within the IDE but seen an error: 'No Matching distribution found for HTMLTestRunner' and also 'Non-zero exit code(1)'. From terminal as well facing the error: 'could not find a version that satisfies the requirement HTMTestRunner (from version: ) No matching distribution found for HTMLTestRunner'

Using Python 2.7 and Pycharm IDE with Python 2.7 as project interpreter in Ubuntu 16 version.

Kindly suggest me how to rectify the error.

Thanks in advance. @shiva

@anand853
Copy link

anand853 commented Feb 9, 2018

even i have the same issue with python 2.7

@praveen7742
Copy link

I have the same issue with python 3.8. "ImportError: No module named HTMLTestRunner"

@DonavanMartin
Copy link

pip3 install html-testRunner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants