Forum Discussion
Python Home Directory Won't Stay Set
I have multible Python environments installed on my machine through Anaconda. When I set my home directory within Power BI to any one if the environments from Options -> Python Scripting, my selection clears after I hit 'OK'. I am also unable to set a Default Python IDE as this also clears after I hit 'OK', but this is less of a problem. My co worker has the same set up as me and he was able to get his to work by following the same steps as me.
So far I have tried closing Power BI, creating a new report, rebooting my machine, and reinstalling Power BI with no luck.
Does anyone else have this issue, or have any ideas on how to solve this? Thank you!
This bug has been fixed in the next release of Power BI Desktop which should be available for download early September.
17 Replies
- jchawkjrNew Member
Have you tried removing the cartridge and blowing on it?
- v-jiascu-msftMicrosoft Employee
Hi jchawk14,
Can you share some snapshots? I would suggest you remove and reinstall it.
Best Regards,
Dale
- jchawk14Frequent Visitor
Sure, so the first screenshot below is where I go to set the home directory. That folder is where my Anaconda installation or python 2.7 is installed. I have the smae file path specified in my IDE, so I know that the python install works.
The second screenshot is after I hit "OK" at the bottom of the page. When I go back to options -> Python Scripting, the home directory I set is now cleared. It feels like my selection just isn't saving.
I have tried reinstalling but I still have the same issue after.
Thank you!
- LahoHelper I
Have you tried to run Python seperatly from Power BI?
- AnonymousNot applicable
Same problem here. I only have one distribution (3.7 RAW Python) in my C:\Python37 folder.
I choose Other, and browse the folder. Press OK. Reopen the settings and my previous settings are lost.
- srinivtMicrosoft Employee
Are you using 32-bit or 64-bit version of PBI Desktop? Also, what type of machine and OS do you have?
- AnonymousNot applicable
I'm using 64 bit PBI: Version: 2.61.5192.601 64-bit (2018. augusztus)
Just as my Windows 10 Pro OS.