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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
JeremyLeee
Helper I
Helper I

Power BI python script error after December update

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

 

1 ACCEPTED SOLUTION

@edhans @Icey 

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.

View solution in original post

11 REPLIES 11

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.