Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
nerminyehia
Regular Visitor

Fabric Python Notebook Execution Logs

Hey,

 

I created a Python notebook to install and run dbt code, but when I call it from the pipeline, I can not get the execution logs

and get stuck in the loading state.

nerminyehia_2-1760948662465.png

 

 

nerminyehia_3-1760948727779.png

 

Thanks

4 REPLIES 4
v-saisrao-msft
Community Support
Community Support

Hi @nerminyehia,

The pipeline seems to be stuck because inline %pip install is disabled by default during notebook runs. As a result, installing dbt blocks execution and prevents logs from being streamed. Pre-install dbt in a Fabric Environment and attach it to your notebook or pipeline. This will allow for smooth execution and visible logs.

Below is the link fro your reference:
Manage Apache Spark libraries - Microsoft Fabric | Microsoft Learn

 

Thank you.

Hey,

 

Thank you so much for the suggestion. But I don't think it is related to the notebook content, because I tried to run an empty notebook with one print statement, but it keeps getting the same issue. I need to see the notebook run details whenever it is triggered by the pipeline.

 

nerminyehia_0-1760968806459.png

 

Hi @nerminyehia,

Have you had a chance to review the solution we shared earlier? If the issue persists, feel free to reply so we can help further.

 

Thank you.

Hi @nerminyehia,

The notebook might seem stuck because every notebook run through a pipeline needs a Spark session to start, even if it’s empty. To check what’s happening and see the logs, you can go to Run → All Runs and use the Related Notebook tab in the monitoring view. Turning on High Concurrency mode for pipelines helps notebooks share sessions more efficiently and makes sure the logs are visible while they run.

Configure high concurrency mode for notebooks in pipelines - Microsoft Fabric | Microsoft Learn

Configure high concurrency mode for notebooks - Microsoft Fabric | Microsoft Learn

 

Thank you.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.