Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
I am trying to run python script from Power BI.
I set up path to python within power bi:
C:\Users\User>where python
C:\Users\User\AppData\Local\Microsoft\WindowsApps\python.exe
and run example script:
import pandas as pd
data = [['Alex',10],['Bob',12],['Clarke',13]]
df = pd.DataFrame(data,columns=['Name','Age'])
print (df)
but i got error:
Can anybody help?
The purpose is to get windows environment variable.
Best,
Jacek
Solved! Go to Solution.
Some suggestions here
Have you pip installed those libraries in your environment?
Hello,
I have installed :
Some suggestions here