Invalid Python Environment: Python is unable to find Maya's Python modules code example
Example: Invalid Python Environment: Python is unable to find Maya's Python modules
On windows it happened after installing python with chocolatey
Look for windows environment variables and delete PYTHONHOME