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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.