当我尝试从中导入Webkit
时gi.repository
,它给出了ImportError
:
from gi.repository import Webkit
ERROR:root:Could not find any typelib for Webkit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name Webkit
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
我不明白这个错误.当它存在时,它会抱怨endif.
{% if pdf_enable %}
{% download_url request.get_full_path "Download as Excel" %}
{% endif %}
Run Code Online (Sandbox Code Playgroud)
我错过了什么吗?