I am trying to import tensorflow but every time i do import tensorflow
i get this annoying error it says "Failed to load the native TensorFlow runtime." i have looked my error into https://www.tensorflow.org/install/errors but i did not find my answer yet i probably missed it But....
My error:
ImportError: Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.
I used pip install tensorflow
also if i do pip install tensorflow
in my console i get "Requirement already satisfied: tensorflow in c:\\programdata\\anaconda3\\lib\\site-packages (2.3.1)" but when i do import tensorflow
i get my Import Error
also my pip version is 20.2.4
我想出了如何为我做我只需要做的: pip install tensorflow==1.15
you are using Anaconda it will support
create a new environment for tensorflow
conda create -n tf tensorflow
activate tf
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.