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
LavinaVRovine
Frequent Visitor

Python datasource refresh via service

Hi,

 

The ability to schedule a refresh of python script as a data source should be available as stated here: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/35207536-python-on-scheduled-refr...

But I've been unable to do so. When I try to refresh python script as a data source, I get this error:

"Extension{"extensionDataSourceKind":"Python", "extenstionDataSourcePath":"Python"} / "Cannot be added to gateway".

Has anybody encountered this kind of problem? Is the feature available and I've messed something up or is it still not finished?

 

Thanks for any help

 

Pavel Klammert

2 REPLIES 2
leahschneider
Helper III
Helper III

Do you use a personal mode gateway?  I got this error because we only have enterprise gateways and you need personal mode.

v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @LavinaVRovine ,

Could you have checked that all your packages are supported in Power BI? And make sure the version of the Python is versions 2.7.15 and 3.7.1. 

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.