This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
I'm doing a pyton visual (pair plot) using matplotlib and seaborn package but I'm getting the following a script error:
traceback (most recent call last):
File "PythonScriptWrapper.PY", line 2, in <module>
import os, uuid,matplotlib
ModuleNotFoundError: No module named 'matplotlib'
what does that error means? I have installed both matlplotlib and seaborn in my computer. Bellow are the are script code that i typed:
import matplotlib.pyplot as plt
import seaborn as sns
sns.pairplot(dataset)
plt.show()
Any advice to resolve this would be much appreciated.
Thank,
Adding to @Greg_Deckler answer by providing some good references.
https://docs.microsoft.com/en-us/power-bi/desktop-python-scripts
https://community.powerbi.com/t5/Desktop/Now-able-to-run-python-script/td-p/610764
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |