【发布时间】:2020-07-01 07:11:16
【问题描述】:
我是 Python 新手,目前在导入某些库时遇到问题。
在按照此链接Unable to install pdftotext on Python 3.6, missing poppler 的说明进行操作后,我已经通过pip install pdftotext 和conda install -c conda-forge poppler 安装了pdftotext
现在当我尝试使用 Visual Studio 代码导入 pdftotext 时出现以下错误;
Exception has occurred: ImportError
DLL load failed while importing pdftotext: The specified module could not be found.
【问题讨论】:
-
你能发布整个错误堆栈跟踪吗?
-
我已经更新了错误
Exception has occurred: ImportError DLL load failed while importing pdftotext: The specified module could not be found.我得到了好意,检查 -
代码是否在虚拟环境中运行?你能在 python shell 中运行
import pdftotext吗