Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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.
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | 
| User | Count | 
|---|---|
| 10 | |
| 7 | |
| 5 | |
| 5 | |
| 4 |