The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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