所以,我一直在尝试安装pdftotext模块,我尝试了很多方法,唯一有效的方法是使用miniconda安装poppler,然后再安装pdftotext ( anaconda的主要问题是poppler没有安装)。所以,在我用miniconda安装它并尝试用spyder导入它后,它给出了错误,所以我手动将与pdftotext相关的每个文件从miniconda复制到anaconda (考虑到它们的位置)。现在,如果我在anaconda中输入pip install pdftotext,它会显示该要求已满足,但如果我再次尝试使用spyder导入它,则会出现错误。This is the anaconda prompt saying that pdftotext is installed. This is the error that shows up after I try to import it in spyder.
发布于 2020-12-05 03:38:49
在你的In[]中运行:
pip.main(["install", "pdftotext"])你的Spider使用3.8。请输入终端(不是爬行器):python3 -v
https://stackoverflow.com/questions/65149188
复制相似问题