Error Code Portal
PythonPythonError code

ModuleNotFoundError

ModuleNotFoundError

Code ModuleNotFoundError · An issue reported by Python.

A subclass of ImportError which is raised by import when a module could not be located. It is also raised when None is found in sys.modules.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.