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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
alfBI
Helper V
Helper V

How to run a notebook using semantic-link-labs on a notebook inside pipeline

Hi,

 

I am on a trouble when trying to run a piece of code based on semantic-link-labs on a notebook when the notebooks is included on a pipeline.

 

The code is the one below

 

alfBI_0-1752056181996.png

 

I know that the pip command can not be used when the notebook is scheduled (as part of the pipeline) and that an environment has to be created to include the libraries.

 

I create an environment as the follwoing one

 

alfBI_1-1752056300429.png

 

but when I execute the notebook on a session using this environment folloing error is triggered

 

alfBI_2-1752056378986.png

 

what are we doing wrong? There is some missing library on the environment?

 

I found a similar post wirh same error but no answer was provided....

 

Regards,

 

Alfons

 

 

 

1 ACCEPTED SOLUTION
v-hashadapu
Community Support
Community Support

Hi @alfBI , Thank you for reaching out to the Microsoft Community Forum.

 

Your code is correct. The error is likely due to the scheduled notebook pipeline not using an environment that includes semantic-link-labs. Add it to your Fabric environment explicitly and the issue may be resolved. Please check it once and share your results.

 

If this helped solve the issue, please consider marking it “Accept as Solution” so others with similar queries may find it more easily. If not, please share the details, always happy to help.
Thank you.

View solution in original post

2 REPLIES 2
v-hashadapu
Community Support
Community Support

Hi @alfBI , Thank you for reaching out to the Microsoft Community Forum.

 

Your code is correct. The error is likely due to the scheduled notebook pipeline not using an environment that includes semantic-link-labs. Add it to your Fabric environment explicitly and the issue may be resolved. Please check it once and share your results.

 

If this helped solve the issue, please consider marking it “Accept as Solution” so others with similar queries may find it more easily. If not, please share the details, always happy to help.
Thank you.

Yes, the problem was that the environment was not propely updated (see the Last Update column of some libs was not updated).

 

Thx

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.