Forum Discussion
Root user access in synapse notebooks
Thanks for the response, but this is not what I was looking for, I want to install a linux package LibreOffice, I dont think this can be done using pip cmnds.
I am using the %%sh magic cmds to run the shell cmds but when trying to install the package It says you are not a root user.
My doubt is how do I get the rights be a super user. I tried with the Admin credentials for the workspace but still got the same error.
Any support is appreciated.
What do you plan to use LibreOffice for once it is installed? Read Excel files?
- AdarshPanasri2 years agoHelper I
I intend to use it to Interact with doc files. As per my research I was not able to find a way to read/get content from doc file without converting it to docx first. And using LibreOffice should solve this.
- Anonymous2 years agoNot applicable
HI AdarshPanasri,
I'd like to suggest you try to use python-docx library to instead, it also can integrate notebook with docx files:
python-docx — python-docx 1.1.2 documentation
Regards,
Xiaoxin Sheng
- AdarshPanasri2 years agoHelper I
I tried with python-docx it is not compatible to work with doc files.