Forum Discussion
Error when connecting python to PBI
- Anonymous7 years ago
As I found out yestreday the issue was due to Power Bi not supporting Python 3.7. i had to created new env for py36 and it worked form there!
Thank you
pkoetzing I don't appear to have this option. I'm running Windows 10 Pro, and I just installed PBI Desktop as an App, so it doesn't seem to show up in any of my folders as a file. Is there a way to get around this regardless?
Windows 10 Apps are stored in C:\Program Files\WindowsApps, so you can find the executable in something like
C:\Program Files\WindowsApps\Microsoft.MicrosoftPowerBIDesktop_2.75.5653.0_x64__8wekyb3d8bbwe\bin\PBIDesktop.exe
However, the WindowsApps folder is both hidden and protected, but with admin rights you can take over ownership like described e.g. in this article: https://www.maketecheasier.com/access-windowsapps-folder-windows-10/.
- rainynights6 years agoHelper II
pkoetzing
Thank you so much!I simply uninstalled the PBI that was installed through the Microsoft Store, and then downloaded the other version that gets installed in the Program File folder.
It would seem that, exactly as you said, launching PBI via anaconda prompt finally allows my Python to run in PBI! I'm ecstatic!
My only question is why this doesn't work when launching PBI normally. This is what I can't place a cause for - because it looks like both settings (with regard to Python script options) is the same regardless of which way i open it.