Python raspberry pi 4 tensorflow安装

Python raspberry pi 4 tensorflow安装,python,tensorflow,raspberry-pi,hdfs,Python,Tensorflow,Raspberry Pi,Hdfs,使用pip3安装实际上是软件包中的错误 使用 您的错误可能与Tensorflow安装有关。您可以尝试重新安装Tensorflow。请查看我的答案。您使用的是虚拟环境还是其他类似的环境?不,直接与PIP一起安装。对于软件包和Python版本,我给出的唯一建议是:使用Conda(和Anaconda)。tensorflow安装是否正确,没有任何错误?@prudhvirajboddu我面临同样的问题,您是如何解决的? pi@raspberrypi:~/examples/lite/examples/obj

使用pip3安装实际上是软件包中的错误 使用


您的错误可能与Tensorflow安装有关。您可以尝试重新安装Tensorflow。请查看我的答案。

您使用的是虚拟环境还是其他类似的环境?不,直接与PIP一起安装。对于软件包和Python版本,我给出的唯一建议是:使用Conda(和Anaconda)。tensorflow安装是否正确,没有任何错误?@prudhvirajboddu我面临同样的问题,您是如何解决的?
pi@raspberrypi:~/examples/lite/examples/object_detection/raspberry_pi $ python3 detect_picamera.py --model /tmp/detect.tflite --labels /tmp/coco_labels.txt
2019-12-28 17:43:12.464130: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "detect_picamera.py", line 34, in
from tf.lite.interpreter import Interpreter
ModuleNotFoundError: No module named 'tf'
from tensorflow.lite.interpreter import Interpreter