Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi everyone,
I am trying to run a python script on Power BI.
I installed Python and Anaconda, but probably I have something wrong because when a excute the python script appears this error:
I don´t know if my sets are corrects. I have theses settings:
Are they corrected?
What can I do to solve my issue?
Thanks
Solved! Go to Solution.
Hi @Anonymous
Since you are using the Python in Anaconda, did you add related Anaconda paths to the environment variable path on your computer? This might be the cause. See this thread
Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException-Transforming data python
Let me know if this doesn't solve your problem.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
Hi @Anonymous
Since you are using the Python in Anaconda, did you add related Anaconda paths to the environment variable path on your computer? This might be the cause. See this thread
Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException-Transforming data python
Let me know if this doesn't solve your problem.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |