When coverage fails with _sqlite3 error

I used to evaluate the coverage of python unittest with coverage, but when the build environment suddenly changed, I got an error with coverage.

When I looked it up, it seems that there was an error in the coverage package. Reference https://github.com/nedbat/coveragepy/issues/887

$ sudo pip uninstall coverage $ sudo pip install -U "coverage < 5"

You can install 5 or less versions with.

Recommended Posts

When coverage fails with _sqlite3 error
Error when playing with python
When WSL Distro fails to start (error: "WslRegisterDistribution failed with error: 0x800706be.")
When I get an error with PyInstaller
Error when installing a module with Python pip
I got an error when saving with OpenCV
Error when entering virtual environment with workon command
Display error message when login fails in Django
Rollback processing when an error occurs with fabric
Django2.2 SQLite3 version error
Precautions when using sqlite3 on macOS Sierra (10.12) with multiprocessing
Error with pip install
A memorandum when an error occurs with pip install
I got an error when using Tensorboard with Pytorch
When pip install fails
I got a Value Error when using JUMAN ++ with PyKNP
After installing CentOS8 with VirtualBox, an error occurs when restarting
What to do when an error occurs with import _ssl
Error handling when installing mecab-python
When using optparse with iPython
Check python coverage with pytest-cov
When moss with pip install
Useful when debugging with TouchDesigner
Use sqlite3 with NAO (Pepper)
Use sqlite load_extensions with Pyramid
Control error wording with nginx
Class when inferring with fairseq
View flask coverage with pytest-cov
[Python] [SQLite3] Operate SQLite with Python (Basic)
polyfit error when installing matplotlib
Solved the problem that sqlite3 got undefined error when cross-compiling Golang
[Beanstalk] What to do when an error occurs with import uuid
Error and solution when installing python3 with homebrew on mac (catalina 10.15)
When I get an error with Pylint in Atom on Windows
I get an error when trying to install maec 4.0.1.0 with pip
[Python] Error and solution memo when using venv with pyenv + anaconda
Unable to bind to interface error when using apollo federation with gqlgen
Solution when an error occurs when hiding the console screen with PyInstaller