导入错误时发生。
>>> import uno
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
import uno
File "C:\Users\viktor.zaichenko\AppData\Local\Programs\Python\Python35- 32\lib\site-packages\uno\__init__.py", line 4, in <module>
from base import Element, Css, Payload, UnoBaseFeature, UnoBaseField
ImportError: cannot import name 'Element'
>>>
这个项目是哪些模块?安装基础和python-base没有帮助。
答案 0 :(得分:0)
你必须安装python-uno或python3-uno取决于你的办公室版本 只需键入 apt install python3-uno