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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors