The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
We are using F32 Fabric Capacity. When we use streaming environment, calling a notebook from a pipeline takes long time. When I open the notebook and click start session, it also takes a long time.
When I open a notebook and select "Workspace Default" it is really fast.
However when I call the notebook from a pipeline, I took this error message below:
Notebook execution failed at Notebook service with http status code - '200', please check the Run logs on Notebook, additional details - 'Error name - MagicUsageError, Error value - %pip magic command is disabled. Find more details in https://learn.microsoft.com/en-us/fabric/data-engineering/library-management#inline-installation' :
How can I call this notebook, that uses Workspace default, from a pipeline?
Solved! Go to Solution.
Hi @innocence84,
Hello there
There's no extra fee for High Concurrency Mode it comes with your F32 Fabric Capacity. It consumes your current capacity units (CU), so you can turn it on and utilize it without paying extra.
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi @innocence84,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hi @innocence84,
Thank you for reaching out to the Microsoft Fabric Forum Community.
The response which provided by @nilendraFabric, identifies that the %pip is disabled in non-interactive pipeline runs. Try using Fabric Environments to pre-install the required libraries and assign the environment to your notebook pipeline or set it as the default workspace environment.
Additionally, also provided the Microsoft links for your reference:
Configure high concurrency mode for notebooks - Microsoft Fabric | Microsoft Learn.
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
So is high concurrency session is only solution to the slow startup issue? And what is the pricing of the high concurrency session
Hi @innocence84,
Hello there
There's no extra fee for High Concurrency Mode it comes with your F32 Fabric Capacity. It consumes your current capacity units (CU), so you can turn it on and utilize it without paying extra.
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi @innocence84
The error occurs because inline package installation (`%pip`) is disabled in non-interactive pipeline runs.
Use Fabric Environments to pre-install libraries:
1. Create a Fabric Environment in your workspace.
2. Add required Python libraries (e.g., `semantic-link`, `geopandas`) to the environment.
3. Publish the environment and set it as the default for your workspace or pipeline
Optimize session startup using High Concurrency Mode and default environments.
User | Count |
---|---|
4 | |
2 | |
2 | |
2 | |
2 |
User | Count |
---|---|
13 | |
8 | |
7 | |
6 | |
6 |