Ask Your Question

Revision history [back]

call opencv and guizero in raspberry

hi experts,

I tried to call guizero in my python program, it worked no problem. I installed opencv4 in raspberry, and write code to read camera data and save to file. I can run the following commands in terminal, and it worked

   workon cv 
   python3 mycamera.py

now the question is, I use both guizero and opencv in my program. how to run my program? If I ran it in terminal, it can't find guizero module. if I ran it in Python ide directly, it can't find opencv module.

please help me,appreciate.