Jetson Nano libboost_python3-py36.so.1.65.1: cannot open shared object file: No such file or directory

I am trying to run a Tensor RT engine which according to NVIDIA documentation, required PyCUDA to run. However, when I type:

import pycuda.autoinit

I got this error:

Trace (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/local/lib/python3.6/dist-packages/pycuda/autoinit.py", line 1, in <module>
        import pycuda.driver as cuda
    File "/usr/local/lib/python3.6/dist-packages/pycuda/driver.py", line 65, in <module>
         from pycuda._driver import *  #noqa
ImportError: libboost_python3-py36.so.1.65.1: cannot open shared object file: No such file or directory

I have try to reinstall the libboost but to no avail.
Can someone help me? Thank you in advance

Hi,

Could you check if the following command helps?

$ sudo apt-get install libboost-all-dev

Thanks.

Thank you, it worked.