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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
hi, I'm trying to embed a python script into power bi, but I'm getting an error. my python version is 3.12. i can run the code in the external idea. but I'm getting errors where it's embedded.
Solved! Go to Solution.
Hello again. If somebody sees this message, error is probably about multiple python versions. If you delete unneeded python version or control python versions and packages both external ide and terminal. You can see that there are different. Also needed to check options in settings the file path and ide option must be correct.
Hi, @sudenurmeydan
Thank you for sharing. Your solution will help other community members find quick answers to similar problems.
Best Regards
Jianpeng Li
Hello again. If somebody sees this message, error is probably about multiple python versions. If you delete unneeded python version or control python versions and packages both external ide and terminal. You can see that there are different. Also needed to check options in settings the file path and ide option must be correct.
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 |
|---|---|
| 3 | |
| 3 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |