Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
sudenurmeydan
New Member

Power BI python script problem

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.Ekran görüntüsü 2024-07-11 213900.pngEkran görüntüsü 2024-07-11 212612.pngEkran görüntüsü 2024-07-11 213201.png

1 ACCEPTED SOLUTION
sudenurmeydan
New Member

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.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @sudenurmeydan 

Thank you for sharing. Your solution will help other community members find quick answers to similar problems.

 

Best Regards

Jianpeng Li

sudenurmeydan
New Member

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.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.