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
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

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
v-nikhilan-msft
Community Support
Community Support

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.

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 @v-nikhilan-msft,

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

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.

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

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.