Systemctl python_test4 wrongs:

hi,
when i try to run python3_test4 at systemctl start automatically,
shows error that didn’t find common module in python3 which like this:

thak you very much!

Hi,

ModuleNotFoundError: No module named 'common'

The error indicates it cannot find the required python module.
Would you mind updating it to the absolute path to see if it helps?

import sys
sys.path.append('[deepstream_python_apps/root]/apps/')

Thanks.

hi,
found common module as your advice but lost pyds again:

Jan 05 03:12:43 sgs001-desktop python3[13454]: Traceback (most recent call last):
Jan 05 03:12:43 sgs001-desktop python3[13454]: File “/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/sgs001/ds_sgs.py”, line 44, in
Jan 05 03:12:43 sgs001-desktop python3[13454]: import pyds
Jan 05 03:12:43 sgs001-desktop python3[13454]: ModuleNotFoundError: No module named ‘pyds’
Jan 05 03:12:43 sgs001-desktop systemd[1]: deepstream_python.service: Main process exited, code=exited, status=1/FAILURE
Jan 05 03:12:43 sgs001-desktop systemd[1]: deepstream_python.service: Failed with result ‘exit-code’.

Hi,

Have you built it from the source?
You will need to do this after reflashing the Xavier.

Below are the instructions for compiling for your reference:

Thanks.

thank you very much!
i will try it in future.
now days working on C/C++ to finish all for my project.

thank you