我正在做一个从一堆扫描的 PDF 中提取文本的项目。我正在关注本教程。第一步之一涉及导入模块。我在导入“pdf2image”时遇到了一些问题。对于上下文,我在 VS Code 的 Python 终端中使用名为“textExtractor”的 Conda 环境。我通过运行“Conda list”检查了是否安装了 pdf2image,它看起来已经安装。但是,当我运行 python 脚本时,我收到一条错误消息,
(textExtractor) C:\Users\mhiebing\Documents\GitHub_Repos\MonthlyStatsExtract>C:/Users/mhiebing/Anaconda3/python.exe c:/Users/mhiebing/Documents/GitHub_Repos/MonthlyStatsExtract/PDF_to_Image.py
回溯(最近一次通话最后):文件“c:/Users/mhiebing/Documents/GitHub_Repos/MonthlyStatsExtract/PDF_to_Image.py”,第 1 行,从 pdf2image 导入 convert_from_path,convert_from_bytes
ModuleNotFoundError:没有名为“pdf2image”的模块
知道出了什么问题吗?