A
A
AliminVerckon2020-08-26 11:20:12
Python
AliminVerckon, 2020-08-26 11:20:12

Why doesn't the soffice command appear when installing libreOffice?

I need to convert via soffice command using python. I installed libreoffice. (I read on the Internet that this library gives such a command) But for some reason this command is not on the command line.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gennady S, 2020-08-26
@AliminVerckon

soffice.exe is there, but it is located in the program folder: libreoffice\program\soffice.exe , and is not added to the PATH environment variable, so the command cannot be called globally. In a Windows environment, as I understand it (under Linux, it would be in the search path), you either have to access the application using the full path: C:\Program files\libreoffice\program\soffice.exe (your path may be different), or add path to environment variables: https://i.imgur.com/LROVZIN.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question