I have some troubles with run unoconv converting in docker. On local machine all is good.
unoconv: Cannot find a suitable pyuno library and python binary combination in /usr/lib/libreoffice
ERROR: No module named 'uno'
unoconv: Cannot find a suitable office installation on your system
OK, I install uno (pip3 install uno
). I also tryed to install python3-uno
and unotools
, but it isn't help. (I receive message No module named 'uno'
).
So, I installed uno and now I receive message
unoconv: Cannot find a suitable pyuno library and python binary combination in /usr/lib/libreoffice
ERROR: No module named 'base'
unoconv: Cannot find a suitable office installation on your system
And after base
installing (pip3 install base
):
unoconv: Cannot find a suitable pyuno library and python binary combination in /usr/lib/libreoffice
ERROR: cannot import name 'Element' from 'base' (/usr/local/lib/python3.9/site-packages/base/__init__.py)
unoconv: Cannot find a suitable office installation on your system.
And really in base.py no Element:
#coding:utf8
import re
class Base():
def fenge(self,content):
return [content] + re.split(r'[。\n]\s*', content)
It seems I need to install another package, but I do not know which one (in pip list on local machine I didn't find something required (on my view)). it doesn't seem to be on the local machine!
I'm ready to show code or installed packages if it required.
I am looking forward to counter questions or advice.