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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.