Forum Discussion
Python Geopandas working in Desktop but is getting an error after it is published
Published a report using PBI Desktop with a python visualization, but is getting the following error in the PBI service.
Activity ID: 8f597bca-29cf-42f4-bce5-829b7534a12f
Request ID: 1214db33-ef52-4a07-a344-3957c6240eb8
Correlation ID: 17608543-24a9-256a-28c5-cd323f40013c
Time: Wed Nov 06 2024 13:54:41 GMT-0800 (Pacific Standard Time)
Service version: 13.0.24611.45
Client version: 2410.4.21630-train
Cluster URI: https://wabi-west-us-b-primary-redirect.analysis.windows.net/
3 Replies
- Ritaf1983Super User
Hi la-142724
It looks like you’re encountering an issue with running a Python visualization in Power BI Service. I noticed that the error details you provided contain tracking IDs, but there’s no actual error message visible. This could mean that the specific error text isn’t showing up in the Service, which sometimes happens.
Here are a few common factors that might be causing this:
1. Python Installation: Ensure that the server hosting the Power BI gateway has Python installed, along with any necessary libraries your visual relies on.
2. Gateway Configuration and Permissions: The gateway must be configured to allow Python scripts to run. Sometimes, corporate policies or specific gateway settings can restrict Python execution.
Steps to troubleshoot:
1. Check if the Power BI Service report page or the refresh log shows any additional error text.
2. Confirm that Python and required packages are correctly installed and accessible on the gateway server.
If the issue persists, consider reaching out to Power BI support with the Activity ID, Request ID, and Correlation ID provided. These can help them track down the problem.https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
- la-142724Regular Visitor
Here is the entire error.
Script Runtime Error[S-5bc10594-9c34-46e7-b5f4-5cc01edaebdb][S-5bc10594-9c34-46e7-b5f4-5cc01edaebdb]ModuleNotFoundError: No module named 'geopandas'
Please try again later or contact support. If you contact support, please provide these details.Hide details- Activity ID8f597bca-29cf-42f4-bce5-829b7534a12f
- Request IDcb470254-fb28-44b2-9cde-28167b07d710
- Correlation ID6305805e-1f43-1251-b50d-af6c01a3aea9
- TimeWed Nov 06 2024 17:20:51 GMT-0800 (Pacific Standard Time)
- Service version13.0.24611.45
- Client version2410.4.21630-trainDoes this mean our host server needs to run pip install geopandas?
- AnonymousNot applicable
Thanks for the reply from Ritaf1983.
Hi la-142724 ,
Supported Python packages for Power BI are found in the link:
Learn which Python packages are supported - Power BI | Microsoft Learn
Unfortunately, the Power BI service does not currently support geopandas, and you can vote for the following ideas:
Best Regards,
ZhuIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.