bCNC icon indicating copy to clipboard operation
bCNC copied to clipboard

camera doesn't work in python3

Open bvarner opened this issue 2 years ago • 2 comments

I have a small USB camera, works fine with opencv, works fine with V4L2.

When I run bCNC on my machine with a python2 install, the camera works. When I run bCNC on the same machine with a python3 install, the camera does not work.

bvarner avatar Nov 22 '21 15:11 bvarner

Do you have opencv module installed for python3 ? You might only have it installed in python2.

Harvie avatar Nov 22 '21 16:11 Harvie

IIRC my camera started working when I installed some PIL OS packages. Ex:

sudo apt-get install python3-tk python-pip python3-pil python3-pil.imagetk

jsiddall avatar Feb 22 '22 02:02 jsiddall