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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 45 | |
| 35 | |
| 34 | |
| 21 |
| User | Count |
|---|---|
| 143 | |
| 122 | |
| 100 | |
| 80 | |
| 57 |