Forum Discussion

sudenurmeydan's avatar
sudenurmeydan
New Member
2 years ago
Solved

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.

  • 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.

2 Replies

  • 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.

  • Anonymous's avatar
    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