• NoModuleNamed
    • Articles
  • Articles

Python Error: No module named _pytest.runner

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

Related Article:

I've installed the package using pip, but I got "ImportError: No Module Named [x]"

Is this page helpful?

Yes
No

Is this page helpful?

Yes
No