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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

Check out the November 2024 Fabric update to learn about new features.

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! Early Bird pricing ends December 9th.