为什么pdftotext会抛出DLL加载失败错误,在windows10、p​​ython3.7上

问题描述

   return _bootstrap._gcd_import(name[level:],package,level)
  File "<frozen importlib._bootstrap>",line 1006,in _gcd_import
  File "<frozen importlib._bootstrap>",line 983,in _find_and_load
  File "<frozen importlib._bootstrap>",line 967,in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>",line 677,in _load_unlocked
  File "<frozen importlib._bootstrap_external>",line 728,in exec_module
  File "<frozen importlib._bootstrap>",line 219,in _call_with_frames_removed
  File "D:\screener\screener\urls.py",line 15,in <module>
    from userbase import views as user_views
  File "D:\screener\userbase\views.py",line 26,in <module>
    from .forms import (
  File "D:\screener\userbase\forms.py",line 4,in <module>
    from .import_companies import get_codes_from_file
  File "D:\screener\userbase\import_companies.py",in <module>
    from utilities.file_to_text import get_text
  File "D:\screener\utilities\file_to_text.py",line 3,in <module>
    import pdftotext
ImportError: DLL load failed: The specified module could not be found.

我安装了 folling https://coder.haus/2019/09/27/installing-pdftotext-through-pip-on-windows-10/ ,并尝试使用 pip 命令重新安装,也在 conda 中尝试过,但都产生了相同的结果

我无法导入 pdftotext,有什么办法可以完成吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)