Showing results for 
Search instead for 
Did you mean: 
LavinaVRovine Frequent Visitor
Frequent Visitor

Python datasource refresh via service



The ability to schedule a refresh of python script as a data source should be available as stated here:

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

Community Support Team
Community Support Team

Re: Python datasource refresh via service

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. 



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.
leahschneider Regular Visitor
Regular Visitor

Re: Python datasource refresh via service

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