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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
GuillaumePower
Resolver I
Resolver I

Python script in my NoteBook that shows only a log

I've seen that sometimes, in my Notebooks, I can't have a right process, the script in my cell runs during only 2 seconds and I get only a log and all the print function in the cells doesn't write anything to the screen. Sometimes the process is right and  turns during 40 seconds to show me the data created by a Natural Language Processing with the pachage Spacy but sometimes the process doen't show more that a log. (with no change betweenn the two events.) Have you already have this problem ?

(I use Fabric with my free Power BI account, perhaps I've not enough right to use the CPU)

3 REPLIES 3
v-nikhilan-msft
Community Support
Community Support

Hi @GuillaumePower 
Thanks for using Fabric Community.

It sounds like you’re experiencing inconsistent behavior when running your Microsoft Fabric Notebook cells, particularly when using the Spacy package for Natural Language Processing (NLP). This could be due to a few reasons:

Resource Limitations:
If you’re using a free Power BI account with Fabric, there might be limitations on the amount of CPU and memory you can use. This could cause your scripts to terminate prematurely if they exceed these limits.

Concurrency Issues:
If you’re running multiple cells or notebooks at the same time, they might be competing for resources. This could cause some cells to finish quickly while others take longer.

Spacy Package:
Spacy is a powerful NLP library, but it can be resource-intensive. If your dataset is large, it might take a while to process. Also, ensure you’re using the latest version of Spacy as older versions might have performance issues.

To troubleshoot, you could try the following:

Monitor Resource Usage:
Check your capacity usage while your notebook is running to see if you’re hitting any limits.
Run Cells Individually:Try running your cells one at a time to see if the issue persists.
Update Libraries: Ensure that all your Python libraries, including Spacy, are up-to-date.

Hope this helps.

Hi @GuillaumePower 
We haven’t heard from you on the last response and was just checking back to see if your query got resolved. Otherwise, will respond back with the more details and we will try to help.
Thanks

Hi @GuillaumePower 
We haven’t heard from you on the last response and was just checking back to see if your query got resolved. Otherwise, will respond back with the more details and we will try to help.
Thanks

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.