Forum Discussion
ceeva
3 years agoNew Member
Running Python scripts in power BI with anaconda environment
Hi All, I am new to Power BI and I have been trying to run a python script to load data. However, when I run a simple script, I am getting the following error: Code: Error: De...
ceeva
3 years agoNew Member
Hi Anonymous ,
Thanks a lot for the response.
I was able to fix the issue by following these steps:
- Open anaconda prompt and activate the environment that is being used
- Start PowerBI from the anaconda environment by typing "Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe" (This is the path where my PowerBI app is)
- Once PowerBI app opens, check the python paths and run the script
It created the datasets in the script without any errors.