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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
User | Count |
---|---|
3 | |
3 | |
2 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
6 | |
5 | |
4 |