Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |