A professional diagramming tool that helps users visualize complex information through easy-to-understand diagrams.
The error PythonScriptVisualRenderingUnsupportedError indicates that the environment where the report is being viewed does not support rendering visuals that use Python scripts.
To address this, use the following checks and workarounds based on how Python is being used in Microsoft products:
- Verify Python feature support and requirements
- For Excel-based scenarios, ensure that the account, license, and app version meet the requirements for Python features. If requirements are not met, Python-related calculations or visuals will be blocked.
- If the environment shows BLOCKED or similar errors for Python features, this typically means the license, version, or account type does not support Python features and the environment must be changed (for example, use a supported Microsoft 365 subscription and account type).
- Check for unsupported environments or account types
- If signed in with an unsupported account type, sign out and sign in with a supported work or school account that has the correct license.
- If using an environment where Python is not supported (for example, certain web or mobile endpoints), open the report or workbook in a supported desktop or web client that supports Python visuals.
- Remove or replace Python visuals
- If the target audience cannot use a Python-enabled environment, replace Python visuals with standard visuals that do not depend on Python scripts.
- General Python error handling
- If Python code is involved in Excel (Python in Excel), and errors appear as
#PYTHON!, review the Python formulas and initialization settings. Fix any Python execution errors or initialization issues before publishing or sharing content that depends on Python.
- If Python code is involved in Excel (Python in Excel), and errors appear as
If the error persists in a fully supported and correctly licensed environment, capture the full error details (including Activity ID, Correlation ID, and time) and provide them to Microsoft support through the appropriate support channel for further investigation.
References: