Error Code Portal
PythonPythonError code

NameError

NameError

Code NameError · An issue reported by Python.

Raised when a local or global name is not found. This applies only to unqualified names. The associated value is an error message that includes the name that could not be found. The optional name keyword-only argument sets the attribute:

Troubleshooting and diagnostic links

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