Forum Discussion

lionx's avatar
lionx
Helper I
3 years ago
Solved

How to Install & configure Python for the On-premises data gateway?

I try to schedule refresh data for Python script data source in Power BI service but I get the error "Query contains unknown function name: Python.Execute".  You can't schedule refresh for this data...
  • v-yueyunzh-msft's avatar
    3 years ago

    Hi , lionx 

    Are you trying to use an enterprise gateway? That won't work.  Python and R scripts require a personal gateway. That personal gateway will automatically share the libraries that you have installed on that PC.

     

    For more information, you can refer to :

    Power BI Gateway | Microsoft Power BI

    Use personal gateways in Power BI - Power BI | Microsoft Learn

     

    Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

     

    Best Regards,

    Aniya Zhang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly