Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.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 Tensorflow导入错误:Hadoop文件系统加载错误_Python_Tensorflow_Raspberry Pi_Raspberry Pi3 - Fatal编程技术网

Python Tensorflow导入错误:Hadoop文件系统加载错误

Python Tensorflow导入错误:Hadoop文件系统加载错误,python,tensorflow,raspberry-pi,raspberry-pi3,Python,Tensorflow,Raspberry Pi,Raspberry Pi3,我通过pip3安装Tensorflow安装了Tensorflow。它安装时没有任何问题,但当我尝试将其导入为import tensorflow as tf时,出现以下错误: 2020-09-05 14:09:51.687520:E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132]hadoop文件系统加载错误:libhdfs.so:无法打开共享对象文件:没有这样的文件或目录 如果重要的话,我使用Raspian 10和Rasperr

我通过
pip3安装Tensorflow
安装了Tensorflow。它安装时没有任何问题,但当我尝试将其导入为
import tensorflow as tf
时,出现以下错误:

2020-09-05 14:09:51.687520:E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132]hadoop文件系统加载错误:libhdfs.so:无法打开共享对象文件:没有这样的文件或目录

如果重要的话,我使用Raspian 10和Rasperry Pi,并使用以下tensorflow版本:

Name: tensorflow
Version: 1.14.0
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: packages@tensorflow.org
License: Apache 2.0
Location: /home/pi/.local/lib/python3.7/site-packages
Requires: opt-einsum, absl-py, grpcio, wheel, six, tensorflow-estimator, google-pasta, 
protobuf, termcolor, keras-preprocessing, wrapt, numpy, tensorboard, keras-applications, 
astor, gast
Required-by:

我做错了什么?

请从源代码安装或尝试按 请记住通过从中选择来选择适当的tensorflow版本 我成功地解决了这个问题