from pptx.util import lnches
报错:Import Error: cannot import name 'leches' from 'pptx.util'请问该怎么解决这问题呢?
代码中导入语句写错了吧,应该是from pptx.util import lnches,而报错信息中说的是无法从pptx.util导入'leches' 。检查一下代码,如不对,改成Inches即可。
可以参考下这篇文章,希望对你有帮助: