python项目Traceback (most recent call last):以及ImportError: 找不到指定的模块。解决
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程序插件
下载运行之后就解决了
更多推荐
所有评论(0)