Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello everyone! My question is about testing the connection between Power BI and Python. I want to execute the following script to fetch data:
import seaborn as sns
tips = sns.load_dataset("tips")
Both Python and seaborn are installed on my machine. However, I'm receiving the following error:
"Details: "ADO.NET: ÞУŧћøñ ŝ¢ѓĭρť έřґσŕ. <pi>Traceback (most recent call last): File "C:\Users\Leandro Abraham\PythonScriptWrapper_a0910a4b-8264-4f00-a036-fb32a9031bdc\PythonScriptWrapper.PY", line 2, in <module> import os, pandas, matplotlib ModuleNotFoundError: No module named 'pandas' </pi>"
It seems strange to me because I'm not using the Pandas library in my script at all. What could it be? The version of pandas installed is 1.2.4.
Thank you!
the python engine that you specified in the Power BI Desktop settings needs to have both pandas and matplotlib installed. This requirement is mentioned in the documentation.
Run Python scripts in Power BI Desktop - Power BI | Microsoft Learn
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
57 | |
37 | |
35 |
User | Count |
---|---|
85 | |
67 | |
60 | |
46 | |
45 |