简体   繁体   中英

Imporing tensorflow error: ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found

i have installed python 3.8.3 and tensorflow 2.3.1 on window 10 64bit but when i try to import tensorflow, I faced with following error

import tensorflow as tf

ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "C:\\ProgramData\\Anaconda3\\lib\\site-packages\\tensorflow_ init _.py", line 41, in from tensorflow.python.tools import module_util as module_util File "C:\\ProgramData\\Anaconda3\\lib\\site-packages\\tensorflow\\python_ init .py", line 40, in from tensorflow.python.eager import context File "C:\\ProgramData\\Anaconda3\\lib\\site-packages\\tensorflow\\python\\eager\\context.py", line 35, in from tensorflow.python import pywrap_tfe File "C:\\ProgramData\\Anaconda3\\lib\\site-packages\\tensorflow\\python\\pywrap_tfe.py", line 28, in from tensorflow.python import pywrap_tensorflow File "C:\\ProgramData\\Anaconda3\\lib\\site-packages\\tensorflow\\python\\pywrap_tensorflow.py", line 83, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\\ProgramData\\Anaconda3\\lib\\site-packages\\tensorflow\\python\\pywrap_tensorflow.py", line 64, in from tensorflow.python._pywrap_tensorflow_internal import * ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

I will suggest you to check TensorFlow is correctly installed or not.

Run this command:

pip freeze

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM