Traceback (most recent call last):
  File "C:\Program Files\PycharmProjects\xxxx\spider.py", line 7, in <module>
    import ddddocr
  File "C:\Users\huaheng\AppData\Local\Programs\Python\Python310\lib\site-packages\ddddocr\__init__.py", line 10, in <module>
    import onnxruntime
  File "C:\Users\huaheng\AppData\Local\Programs\Python\Python310\lib\site-packages\onnxruntime\__init__.py", line 55, in <module>
    raise import_capi_exception
  File "C:\Users\huaheng\AppData\Local\Programs\Python\Python310\lib\site-packages\onnxruntime\__init__.py", line 23, in <module>
    from onnxruntime.capi._pybind_state import (
  File "C:\Users\huaheng\AppData\Local\Programs\Python\Python310\lib\site-packages\onnxruntime\capi\_pybind_state.py", line 33, in <module>
    from .onnxruntime_pybind11_state import *  # noqa
ImportError: DLL load failed while importing onnxruntime_pybind11_state: 找不到指定的模块。

 我有这些包,都导入了还是提示没有找到。 

 点击打开

 提示说电脑缺少vc程序插件

下载运行之后就解决了

 

 

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐