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.
Details: "ADO.NET: Python script error.
<pi>Traceback (most recent call last):
File "C:\Users\IT\PythonScriptWrapper_4a63782b-5025-4e0b-9337-31716da2cf53\PythonScriptWrapper.PY", line 2, in <module>
import os, pandas, matplotlib
ModuleNotFoundError: No module named 'pandas'
</pi>"
Thank you very much rajendraongole1 for your prompt reply.
Can you tell me if your problem is solved? If yes, please accept it as solution.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mohamedsayed - Power BI requires specific Python packages to be installed in your Python environment. To resolve this issue, you need to install the pandas package in the Python environment Power BI is referencing.In Power BI Desktop, go to File > Options and settings > Options. Under Global > Python scripting, check the Python home directory to see which version of Python Power BI is using.
pip install pandas
pip install matplotlib
Restart Power BI: After installing the packages, restart Power BI to ensure it recognizes the new libraries.
Hope the above information helps.
Proud to be a Super User! | |
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 |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |