Error trying to run tests: ModuleNotFoundError: No module named 'django_coverage_plugin'
Location within the Book
- Book order number: 12003
- Book build date (Is the date on page 1): 2020-09-16
- Book format (PDF, Epub or Mobi): PDF
- Chapter or Appendix: Introducing Tests
- Section: 25
- Subsection: 25.2
- What operating system are you using:
- [ ] Linux (Ubuntu 20.04)
- [ ] Linux (Ubuntu 18.04)
- [ ] Linux (Other)
- [ ] MacOS Catalina
- [ ] MacOS Mojave
- [ ] MacOS Big Sur
- [ ] Windows 10 Pro, Version 2004 or higher
- [ ] Windows 10 Pro, Version 1909 or lower
- [ x] Windows 10 Home, Version 2004 or higher
- [ ] Windows 10 Home, Version 1909 or lower
Hint: Page numbers change all the time. The best way to report an issue is by chapter, section, and subsection numbers.
Description
Hi, I run this command (everycheese) D:\projects\everycheese>coverage run -m pytest and get the following errors:
Traceback (most recent call last):
File "D:\miniconda3\envs\everycheese\Scripts\coverage-script.py", line 10, in
If code-related, enter it within these backticks. Otherwise, delete this segment.
Possible Solutions
I tried to install coverage, >conda install coverage, but this did not fix the problem.
Your full name so we can provide accurate credit within the book
Richard Childers