Forum Discussion

BoSe's avatar
BoSe
Frequent Visitor
2 years ago
Solved

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

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    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.

5 Replies

  • Anonymous's avatar
    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's avatar
      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.

      • BoSe's avatar
        BoSe
        Frequent Visitor

        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