# Systemctl python\_test4 wrongs:

**URL:** <https://forums.developer.nvidia.com/t/systemctl-python-test4-wrongs/199493>\
**Category:** Jetson Xavier NX\
**Tags:** jetson-inference\
**Created:** [January 3, 2022, 10:00pm UTC](https://forums.developer.nvidia.com/t/systemctl-python-test4-wrongs/199493 "2022-01-03T22:00:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilicyy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/wilicyy/32/134311_2.png) [@wilicyy](https://forums.developer.nvidia.com/u/wilicyy)\
**Post date:** [January 3, 2022, 10:00pm UTC](https://forums.developer.nvidia.com/t/systemctl-python-test4-wrongs/199493/1 "2022-01-03T22:00:04Z")

</div>

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:

 ![systemctl](https://global.discourse-cdn.com/nvidia/original/3X/d/4/d4090f3c8de6d53ddeac762dd0606a554b0ae769.png)

thak you very much!

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [January 4, 2022, 3:48am UTC](https://forums.developer.nvidia.com/t/systemctl-python-test4-wrongs/199493/3 "2022-01-04T03:48:41Z")

</div>

Hi,

```auto
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?

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

```

Thanks.

---

<div class="post-metadata">

**Author:** ![wilicyy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/wilicyy/32/134311_2.png) [@wilicyy](https://forums.developer.nvidia.com/u/wilicyy)\
**Post date:** [January 4, 2022, 7:13pm UTC](https://forums.developer.nvidia.com/t/systemctl-python-test4-wrongs/199493/4 "2022-01-04T19:13:39Z")

</div>

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’.

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [January 13, 2022, 5:31am UTC](https://forums.developer.nvidia.com/t/systemctl-python-test4-wrongs/199493/5 "2022-01-13T05:31:14Z")

</div>

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:

> **[TensorRT/python at main · NVIDIA/TensorRT](https://github.com/NVIDIA/TensorRT/tree/main/python)**
>
> NVIDIA® TensorRT™ is an SDK for high-performance deep learning inference on NVIDIA GPUs. This repository contains the open source components of TensorRT. - NVIDIA/TensorRT

Thanks.

---

<div class="post-metadata">

**Author:** ![wilicyy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/wilicyy/32/134311_2.png) [@wilicyy](https://forums.developer.nvidia.com/u/wilicyy)\
**Post date:** [January 13, 2022, 8:01am UTC](https://forums.developer.nvidia.com/t/systemctl-python-test4-wrongs/199493/6 "2022-01-13T08:01:13Z")

</div>

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

thank you

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [February 2, 2022, 6:23am UTC](https://forums.developer.nvidia.com/t/systemctl-python-test4-wrongs/199493/8 "2022-02-02T06:23:37Z")

</div>

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