You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

导入tensorflow_text时出现DLL加载失败错误求助

导入tensorflow_text时的DLL加载错误问题

问题现象

执行导入tensorflow_text的代码时程序中断,触发ImportError,提示无法找到指定过程导致DLL加载失败。

环境依赖列表

tensorboard==2.10.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow==2.10.1
tensorflow-addons==0.19.0
tensorflow-datasets==4.8.1
tensorflow-estimator==2.10.0
tensorflow-hub==0.12.0
tensorflow-intel==2.11.0
tensorflow-io==0.30.0
tensorflow-io-gcs-filesystem==0.31.0
tensorflow-metadata==1.12.0
tensorflow-model-optimization==0.7.3
tensorflow-probability==0.19.0
text-unidecode==1.3
tf-models-official==2.10.1
tf-slim==1.1.0
tfds-nightly==4.8.1.dev202301120044
...

测试代码

import tensorflow as tf 
import tensorflow_text 

完整报错信息

Traceback (most recent call last):
  File "C:\Users\***\main.py", line 2, in <module>
    import tensorflow_text
  File "C:\Users\***\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow_text\__init__.py", line 20, in <module>
    from tensorflow_text.core.pybinds import tflite_registrar
ImportError: DLL load failed while importing tflite_registrar: The specified procedure could not be found.

已尝试操作

  • 尝试安装tflite_registrar,但该模块并非独立可安装包
  • 已找到tensorflow_text的__init__.py文件截图以及site-packages目录截图

内容的提问来源于stack exchange,提问作者vel

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.27 20:47:19