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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Python Error : An error in a system binary was detected. Try refreshing the PC to fix the problem

 

 

 

DataSource.Error: ADO.NET: A problem occurred while processing your Python script. 
Here are the technical details: An error in a system binary was detected. Try refreshing the PC to fix the problem
Details:
    DataSourceKind=Python
    DataSourcePath=Python
    Message=A problem occurred while processing your Python script. 
Here are the technical details: An error in a system binary was detected. Try refreshing the PC to fix the problem
    ErrorCode=-2147467259
    ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonUnexpectedException

 

 

 

I was attempting to use python to process imported SQL Data. 

 

I have restarted my PC already. I uninstalled, repaired, and upgraded python to 3.8.0 from 3.7.2. I have switched between 32 bit and 64 bit python. Any one know what the actual issue is?

 

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

This could not be caused by the power Bi desktop and python virtual environment. This could be caused by your Windows operating system. You can refer to this document.

 

Best Regards,

Liang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is this problem sloved?

If not, please let me know.

 

Best Regards,

Liang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

This could not be caused by the power Bi desktop and python virtual environment. This could be caused by your Windows operating system. You can refer to this document.

 

Best Regards,

Liang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.