本文介绍了ModuleNotFoundError:安装python-poppler-qt5时没有名为"sipdistutils"的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试安装python-poppler-qt4,但是它显示错误ModuleNotFoundError: No module name sipdistutils.当我尝试安装sipdistutils时,它再次显示错误.

I have been trying to install python-poppler-qt4 but it shows the error that ModuleNotFoundError: No module name sipdistutils.When I tried installing the sipdistutils, it again showed the error.

错误消息

推荐答案

我在这里发现了类似的问题: https://github.com/wbsoft/python-poppler-qt5/issues/14

I have found a simillar issue here: https://github.com/wbsoft/python-poppler-qt5/issues/14

我认为sipdistutils应该是sip软件包的一部分.请验证是否已安装:

I think that sipdistutils should be part of sip package. Please verify if you have it installed:

$ pip freeze | grep sip
sip==4.19.1

如果没有输出,请使用pip install sip安装.

If there's no output install it with pip install sip.

如果这无法解决某些建议的解决方案:

If this won't work some proposed solutions:

  • 这篇关于ModuleNotFoundError:安装python-poppler-qt5时没有名为"sipdistutils"的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    09-15 12:34
    查看更多