Run python code at boot time

I written a python just display an image using OpenCV, and followed the /etc/rc.local method to run python code at boot time. At booting time I got the error, screenshot attached as below and jump to the main screen.

There are several examples in FAQ. Please refer to
Jetson Nano FAQ
Q: How to autorun an app or commands at startup?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.