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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.