[使用Python 3在Windows中安装Poppler

问题描述 投票:1回答:1

我一直在尝试使用pip命令pip install python-poppler-qt4==0.18.1在我的PC中安装Plooper,但它显示类似这样的消息

Downloading/unpacking python-poppler-qt4==0.18.1
Downloading python-poppler-qt4-0.18.1.tar.gz
  Running setup.py (path:C:\Users\BOOMER~1\AppData\Local\Temp\pip_build_Boomerang RMS\python-poppler-qt4\setup.py) egg_info for package python-poppler-qt4
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "C:\Users\BOOMER~1\AppData\Local\Temp\pip_build_Boomerang RMS\python-poppler-qt4\setup.py", line 42, in <module>
        import sipdistutils
    ImportError: No module named 'sipdistutils'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "C:\Users\BOOMER~1\AppData\Local\Temp\pip_build_Boomerang RMS\python-poppler-qt4\setup.py", line 42, in <module>

    import sipdistutils

ImportError: No module named 'sipdistutils'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in C:\Users\BOOMER~1\AppData\Local\Temp\pip_build_Boomerang RMS\python-poppler-qt4
Storing debug log for failure in C:\Users\Boomerang\pip\pip.log

您能帮我吗?!

python-3.x pdf pip pyqt4 pc
1个回答
0
投票

胡安]

我在Windows上使用Poppler遇到类似的问题。我写了一篇简短的文章和教程,介绍如何使其与Windows Subsytem for Linux一起使用。

这里是文章:Poppler on Windows

希望有所帮助。

© www.soinside.com 2019 - 2024. All rights reserved.