Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Ubuntu上的Tensorflow_Python_Python 3.x_Tensorflow_Keras_Deep Learning - Fatal编程技术网

Python Ubuntu上的Tensorflow

Python Ubuntu上的Tensorflow,python,python-3.x,tensorflow,keras,deep-learning,Python,Python 3.x,Tensorflow,Keras,Deep Learning,我试着在Ubuntu14.04LTS中运行keras import tensorflow as tf mnist = tf.keras.datasets.mnist 已安装: tensorflow - 1.12.0 Keras - 2.2.4 我得到以下错误: F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use SSE4.1 instru

我试着在Ubuntu14.04LTS中运行keras

import tensorflow as tf
mnist = tf.keras.datasets.mnist
已安装:

tensorflow   - 1.12.0
Keras        - 2.2.4
我得到以下错误:

F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow
library was compiled to use SSE4.1 instructions, but these aren't
available on your machine. Aborted (core dumped)

如何解决上述问题?

删除tensorflow并重新安装。我建议使用水蟒,有一个清新干净的环境。谢谢@Dinari,我会检查一下,然后再给你回复。