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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.