ModuleNotFoundError: No module named 'syslog'

Hi all,

I have to use python scripts in apalis imx-6 board.

When i import syslog, i got the error as ModuleNotFoundError: No module named ‘syslog’.

Please suggest how can i import syslog module in my scripts. I am using latest imx6 image and in that python 3.8 available.

Hi ,

Can you please post software and hardware version you are using ?

Also how you are accessing the syslog?

Can you check if pip3 list show the module in output?

Best Regards

Ritesh Kumar

Hi ,

We quickly checked by adding python3 to Custom Linux image and we are able to import syslog.

Please add same to your image and it should work.

Refer to below article for Building Custom Linux for Toradex Module

Best Regards

Ritesh Kumar

Thanks for your reply. Problem solved.

Perfect. Thanks for your feedback.