Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi all,
All of my steps running python script in query editor stopped working after December's update, they all worked perfectly fine several days before.
The error code is:
DataSource.Error: ADO.NET: A problem occurred while processing your Python script.
Here are the technical details: The file or directory is corrupted and unreadable
Details:
DataSourceKind=Python
DataSourcePath=Python
Message=A problem occurred while processing your Python script.
Here are the technical details: The file or directory is corrupted and unreadable
ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonUnexpectedException
My version is: Version: 2.76.5678.782 64-bit (December 2019)
Thanks
Solved! Go to Solution.
Thanks for your help, I did some trouble shooting and found somehow Python 3.7.3 (Mar 25, 2019 Version) won't work with the current verision of Power BI for me. I tried to change my python directory in Power BI to the latest version - Python 3.8.1 and it worked.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 52 | |
| 42 | |
| 23 | |
| 21 |
| User | Count |
|---|---|
| 138 | |
| 114 | |
| 52 | |
| 37 | |
| 31 |