Import Error in rc.local for open cv2 module

Viewed 92

My python 3.6 script works fine when running in the terminal once logged in but I’m having an import cv2 error (module not found) when trying to run it in rc.local. So far in that file I just have python /home/user/face_recog.py before exit 0. Maybe it has something to do with not using the opencv path? Does anyone know how to fix this import error?

0 Answers
Related