python - Import uno ImportError: no module named uno bug -


i'm new linux , wondering how go getting uno python module openoffice work within python script.

i have attempt uninstall , reinstall open office on machine. change pythonpath variables , nothing appears working.

would willing give in depth guide on step taken work on fedora linux machine.

my python script follows.

import uno  print ("create document script") 

the following error returned when script ran

traceback (most recent call last):   file "pycreatedocumentscript.py", line 1, in <module>     import uno importerror: no module named uno 

help appreciated. in advance

if installed python3-uno, suspect not running script python3 previous version of python.
run python scripts uno libreoffice must run scripts python3


Comments