+ 1

One Frustrating Error

i keep getting this error with tensorflow. ive installed older versions of python and tensorflow python - 3.6.6, 3.7 tensorflow - 2.0.0, 2.20rc1 ImportError: DLL load failed: The specified module could not be found. Failed to load the native TensorFlow runtime. import tensorflow as tf from tensorflow import keras import numpy as np import matplotlib.pyplot as plt data = keras.datasets.fashion_mnist (train_images, train_labels), (test_images, test_labels) = data.load_data print(train_labels[0])

17th May 2020, 8:55 AM
Rodney
Rodney - avatar
4 Antworten
+ 5
maybe a virtual environment venv should be used
17th May 2020, 11:37 AM
Oma Falk
Oma Falk - avatar
+ 1
make sure you have the latest update of python and tensorflow before using them maybe? i would try removing the module and reinstalling it. if you’re having trouble still, you could try using google colab. i use it often to test tensorflow stuff and it works great!
17th May 2020, 9:11 AM
Brian R
Brian R - avatar
0
it worked in google colab but i did install the latest version of both and that didnt fix it
18th May 2020, 3:52 AM
Rodney
Rodney - avatar
0
i just needed to installed a 64 bit version of python 3.7 (which i already had) and the latest version of tensorflow and that got rid of the error
18th May 2020, 4:06 AM
Rodney
Rodney - avatar