【发布时间】:2016-02-04 16:23:03
【问题描述】:
我正在尝试使用库 oosheet 通过 python 脚本编辑 Libreoffice-calc 工作表。我已按照他们的文档进行操作,并且似乎已正确安装。但是当我在 python shell 中运行“from oosheet import OOSheet as S”时,我返回了这个:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/herm/.local/lib/python2.7/site-packages/oosheet/__init__.py", line 30, in <module>
from com.sun.star.awt import WindowDescriptor
ImportError: No module named com.sun.star.awt
【问题讨论】:
标签: python ubuntu libreoffice