Python Error: No module named _pytest.assertion.rewrite
This is probably because you don't have package pytest installed.
You can install it in command line via pip:
pip install pytest
Install specific version:
pip install "pytest==5.3.5"
Get more info about package via pypi.org: pytest