/bin/sh: 1: lsof: not found

asked 2013-05-25 13:06:46 -0500

RDub gravatar image

I'm trying to get an image from a webcam by using the SimpleCV shell on a Raspberry Pi.

Here is my attempt and the results:

python

from SimpleCV import Shell

Shell.main()

SimpleCV:1> from SimpleCV import Camera, Display, Image

SimpleCV:2> cam = Camera()

/bin/sh: 1: lsof: not found

VIDIOC-QUERYMENU: Invalid argument (7 times)

select timeout

SimpleCV:3> select timeout

select timeout

select timeout

over and over again . . .

My questions are: 1) Is "/bin/sh: 1: lsof: not found" the problem?, or 2) Is "select timeout" the problem?

What can I do to solve the problem(s)?

Thanks.

edit retag flag offensive close merge delete

Comments

/bin/sh lsof is certainly not a problem. Many people have encountered the similar problem in Raspberry Pi. It has very poor webcam support.

jayrambhia gravatar imagejayrambhia ( 2013-05-26 08:52:04 -0500 )edit

Hopefully someone will come,up,with the answer. Like this one,my code accepts the webcam which works with other RPi software but fails exactly as above. So it doesn't seem to be a webcam support issue.

Kevcook gravatar imageKevcook ( 2013-06-06 05:20:59 -0500 )edit