Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Trying to Refresh a python Script in Power BI using Personal Gateway

Hi Guys, 

 

I have a python script In my power BI dashboard that I need to refresh automatically.. There are 2 other queries that get the data from a SQL server.

 

Since an enterprise gateway will not help me with the python script I am using a personal gateway to refresh data but when I try to edit credentials for mypython script 

vito123_0-1693113938858.png

I get the below error: 

Interestingly I dont use the below packages at in my script !!!

Where can I find where I am importing all of this ? All Ihave are the below:

vito123_0-1693114732802.png

 

Could Somebody please help here ?

vito123_1-1693113981792.png

 

1 REPLY 1
aj1973
Community Champion
Community Champion

Hi @Anonymous 

Not all Python packages are supported in the service like in Desktop

aj1973_0-1693139597425.png

https://learn.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.