Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn 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 |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |