【问题标题】:Python 3.6 on win 10 editdistance module can not be imported ( DLL load failed problem )python 3.6 on win 10 editdistance模块无法导入(DLL加载失败问题)
【发布时间】:2021-09-21 13:34:07
【问题描述】:

Hiroyuki Tanaka 的editdistance模块无法在python 3.6 windows 10上导入

python main.py 回溯(最近一次通话最后): 文件“main.py”,第 7 行,在 导入编辑距离 文件“C:....\AppData\Local\Programs\Python\Python36\lib\site-packages\editdistance_init_.py”,第 1 行,在

**from .bycython import eval**

ImportError: DLL load failed: 找不到指定的模块。

可能是什么问题?

谢谢

【问题讨论】:

    标签: python


    【解决方案1】:

    很抱歉打扰了相关人员。

    问题不在于 editdistance 模块,而是关于从 python 调用 c++ 模块。我认为我计算机中的可再分发 VC++ 文件以某种方式损坏。所以我从以下位置重新加载了文件 vc_redist.x64.exe:

    https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0

    并选择了“修复”选项。

    之后一切正常。

    谢谢

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-01-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-13
      • 2018-11-27
      • 1970-01-01
      • 2019-07-10
      相关资源
      最近更新 更多