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

Error: The import Python.Execute matches no exports. Did you miss a module reference?

Hi,

I have a PBI report based on python scripts.

When I try to refresh it through the PBI desktop, it succeeds.

But when I upload to the server and try to schedule a refresh, I get this error message:

: The import Python.Execute matches no exports. Did you miss a module reference?. The exception was raised by the IDbCommand interface.
: The current operation was cancelled because another operation in the transaction failed.
: The command has been canceled.. The exception was raised by the IDbCommand interface.

Is anyone else having this?

Thanks!

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

From this official document can see, Python scripts and visuals are not supported in Power BI Report Server. You can develop those components within PBI Desktop, but that's all you can do at this point. For Python compatibility, you will need to publish your report to the Service.

vkalyjmsft_0-1652341541108.png

Best Regards,
Community Support Team _ kalyj

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

View solution in original post

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

From this official document can see, Python scripts and visuals are not supported in Power BI Report Server. You can develop those components within PBI Desktop, but that's all you can do at this point. For Python compatibility, you will need to publish your report to the Service.

vkalyjmsft_0-1652341541108.png

Best Regards,
Community Support Team _ kalyj

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

ribisht17
Super User
Super User

@Anonymous 

 

There is another error but for R

 

Scheduled Refresh Error with R code - Microsoft Power BI Community

 

But if you are not able to do it at the desktop level then please check if there are any restrictions on your server?

 

Regards,

Ritesh

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.