Forum Discussion

heejinyune's avatar
heejinyune
Frequent Visitor
1 year ago
Solved

"ADO.NET: Unable to find the requested .Net Framework Data Provider. It may not be installed."

Hi everyone,  I'm having some this error below while trying to use python script to learn pkl machine learning models within power bi: I was re-install the microsoft .net framework with t...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi heejinyune,

     

    Thank you for reaching out to the Microsoft Fabric Forum Community.

     

    You're seeing this error because Power BI can't find a needed component from the .NET Framework that's required to run your Python script. Even if you installed the latest version, it’s important to install the specific .NET Framework version 4.7.2 or 4.8, which Power BI works best with. Also, make sure that your Python is properly set up in Power BI by going to the Options and settings menu and checking the Python scripting path. Double-check that the needed Python packages like pandas and scikit-learn are installed. In your code, fix the file path by using double backslashes (\\) or a raw string (r"...") to avoid path errors.

     

    Best regards,
    Prasanna Kumar