Forum Discussion
Error when trying to connect the Data Set using Python Script in Power BI
- 2 years ago
Hi All,
i have found the solution for error. i was trying many things. Atlast I went to the C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config and edited the machine.config.
in that file MySql.Data.MySqlClient was there 2 times. I have removed the duplicate and now I am able to run the python script.
Thank you all for the response.Reagrds,
Samith
Hi Samith,
The errors in Power BI might be due to uninitialized objects or missing .NET Framework components. Ensure all objects in your Python script are properly initialized and check for null values. Also, verify that the necessary .NET Framework Data Provider is installed. Updating Power BI and checking dependencies for your Python script and Kaggle API might help. If the issue persists, consider reinstalling the .NET Framework or checking Power BI community forums.
Hi Walter726Herrin ,
Below python script i have tried in VS CODE and it is working in VS CODE.