question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HadoopFileSystem load error

See original GitHub issue

Hello, while running Object_detection_picamera.py I get the following issue, please help. Thx

tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory WARNING:tensorflow:From /home/pi/tensorflow1/models/research/object_detection/utils/label_map_util.py:138: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.

WARNING:tensorflow:From Object_detection_picamera.py:82: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead. WARNING:tensorflow:From Object_detection_picamera.py:88: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

mmal: mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC mmal: mmal_port_enable: failed to enable connected port (vc.null_sink:in:0(OPQV))0x397c320 (ENOSPC) mmal: mmal_connection_enable: output port couldn't be enabled Traceback (most recent call last): File "Object_detection_picamera.py", line 124, in <module> camera = PiCamera() File "/usr/lib/python3/dist-packages/picamera/camera.py", line 433, in __init__ self._init_preview() File "/usr/lib/python3/dist-packages/picamera/camera.py", line 513, in _init_preview self, self._camera.outputs[self.CAMERA_PREVIEW_PORT]) File "/usr/lib/python3/dist-packages/picamera/renderers.py", line 558, in __init__ self.renderer.inputs[0].connect(source).enable() File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 2212, in enable prefix="Failed to enable connection") File "/usr/lib/python3/dist-packages/picamera/exc.py", line 184, in mmal_check raise PiCameraMMALError(status, prefix) picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
g2721commented, Jun 15, 2020

2 possible solutions first: you install raspbinian with gui or just install X (basically the gui), just look for raspi x server install

0reactions
g2721commented, Jun 15, 2020

This issue can be closed now since it isn’t a bug

Read more comments on GitHub >

github_iconTop Results From Across the Web

HadoopFileSystem load error: libhdfs.so: cannot open shared ...
HadoopFileSystem load error : libhdfs.so: cannot open shared object file: No such file or directory · Issue #36141 · tensorflow/tensorflow · ...
Read more >
Error installing Tensorflow (cannot find libhdfs.so)
Hoping someone can PLEASE help me. My error message: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: ...
Read more >
Python-Tensorflow import Error: HadoopFileSystem load error
If it matters, I use a Raspberry Pi with Raspian 10 and I use the following tensorflow version: Name: tensorflow Version: 1.14.0 Summary: ......
Read more >
Error on Raspberry PI 4 while opening TensorFlow.
Hi, I came by this error after installing TensorFlow in RPI 4 can you guys ... HadoopFileSystem load error: libhdfs.so: cannot open shared ......
Read more >
libhdfs.so: cannot open shared object file" when verifying ...
(Help) TensorFlow mentions "HadoopFileSystem load error: libhdfs.so: cannot open shared object file" when verifying installation. Is this normal ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found