Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! 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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 48 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 106 | |
| 39 | |
| 27 | |
| 27 |