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程序插件
下载运行之后就解决了
文章来源:https://www.toymoban.com/news/detail-602628.html
文章来源地址https://www.toymoban.com/news/detail-602628.html
到了这里,关于python项目Traceback (most recent call last):以及ImportError: 找不到指定的模块。解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!