![](/img/trans.png)
[英]Tensorflow: ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found
[英]ImportError: DLL load failed while importing _pywrap_tensorflow_internal:A dynamic link library (DLL) initialization routine failed
安裝 tensorflow 后,當我導入 tensorflow 時收到此錯誤 ImportError: DLL load failed while importing _pywrap_tensorflow_internal:例程動態鏈接庫 (DLL) 初始化失敗
細節 - - -
tf-cpu 2.2.0 版 python 3.8.3 版
您是否使用 conda(或任何其他包管理系統)? 如果是這樣,您是否使用conda install tensorFlow
或pip install tensorflow
?
如果你安裝了它pip
,我建議你將其卸載,然后從安裝tensroflow conda
。 這應該可以解決這個問題。
您可能有 CPU AVX 兼容性問題。 在 GitHub 上查看此主題: https : //github.com/tensorflow/tensorflow/issues/39423 。
嘗試安裝 TF 版本 = 2.3.0。 如果仍然失敗 - 我建議在 GH 重新打開該問題。
我已經嘗試了這些步驟pip 卸載 tensorflow和pip 安裝 --user Z2C39BC19B761AC36DC046245D1
試試這一步...
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.