ImportError

The exception raised when an import fails, for example because a name does not exist inside a module.

In more detail

from math import sqroot raises it because math has no sqroot. A circular import between two of your own modules can also cause it.

Related terms

Taught in

References

Certification courses