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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 56 | |
| 54 | |
| 43 | |
| 36 | |
| 32 |