我使用的是python包pdf2img,但是我得到了一个错误,要求我检查是否安装了poppler,所以我在colab的代码框中运行了"pip install python-poppler-qt5“,但是我得到了以下错误:
Collecting python-poppler-qt5 Using cached https://files.pythonhosted.org/packages/6a/7d/65a14ece5dd6a1564b576c1ca30b0f5639be64cc55b62b4d2b497159ed43/python-poppler-qt5-0.75.0.tar.gz
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.有人能给我一个解决方案吗?
发布于 2019-12-29 01:49:02
首先使用以下命令运行一个单元:
!apt-get install poppler-utils 下面是一个完整的示例笔记本,它安装了dep,下载了一个示例PDF,然后使用pdf2image将其转换为图像进行显示。
https://colab.research.google.com/drive/10doc9xwhFDpDGNferehBzkQ6M0Un-tYq
https://stackoverflow.com/questions/59498115
复制相似问题