Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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! | |
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
37 | |
31 | |
26 |
User | Count |
---|---|
95 | |
50 | |
43 | |
40 | |
35 |