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
BoSe
Frequent Visitor

Installing interpreter(ghostcript) in a notebook

Hi,

I'm currently trying to move a development to Microsoft Fabrics that uses the lib "camelot-py" to read and extract tables out of pdf files. For that the software "ghostscript" is required, which can not be installed with pip/conda - but i need to install it with 

!apt install ghostscript python3-tk

reference: https://camelot-py.readthedocs.io/en/master/user/install-deps.html

 

When i run that script in the notebook i do receive the following error message:

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

 

Does anyone have an idea how to set up something like this up in a notebook / in Microsoft Fabrics.

 

Thanks,

Sebastian

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @BoSe ,
I have checked with the internal team. 
Apologies for the issue. We cannot use apt install command in Fabric Notebooks. This is not supported. 

But you could share your feedback on our feedback link which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Feedback Link : Home (microsoft.com)
Thank you.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @BoSe ,
Thanks for using Fabric Community.
I have reached the internal team for help on this. I will update you once I hear back from them.
Appreciate your patience.

Anonymous
Not applicable

Hi @BoSe ,
I have checked with the internal team. 
Apologies for the issue. We cannot use apt install command in Fabric Notebooks. This is not supported. 

But you could share your feedback on our feedback link which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Feedback Link : Home (microsoft.com)
Thank you.

Hi @Anonymous,

thanks for the quick response.

Do you or theinternal team know if there is any workaround for this to get something like 'ghostscript' running without using apt install? Else it would mean that i can not use Microsoft Fabric for our process for now.

Thanks

Anonymous
Not applicable

Hi @BoSe ,
The library which you have mentioned requires os level installation, which cannot be supported in MS Fabric Notebooks. OS level support is not feasible for the SaaS platform like Fabric.  
Can you please try downloading the library and its dependency as whl file and install as custom library? 
Hope this helps. Please let me know if you have further queries.

Anonymous
Not applicable

Hi @BoSe ,
Glad your query got resolved.
Please continue using Fabric Community for any help regarding your queries.

Helpful resources

Announcements
May FBC25 Carousel

Fabric Monthly Update - May 2025

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