How to Fix Python Nose: Coverage not available: unable to import coverage module How to Fix Python Nose: Coverage not available: unable to import coverage module python python

How to Fix Python Nose: Coverage not available: unable to import coverage module


Have you tried pip install coverage? The coverage plugin depends on separate coverage module, which is not a nose's dependency, so needs to be installed manually.


Validate if the coverage module is working by itself via coverage --version. I had a case that it was not working due to the lack of SQLite modules in my python installation from the source. I reinstalled python with SQLite extension to fix the issue.