NVIDIA-AI-IOT / ros2_deepstream

ROS 2 package for NVIDIA DeepStream applications on Jetson Platforms
MIT License
85 stars 15 forks source link

Import Error pyds #4

Open Julian-Singkham opened 2 years ago

Julian-Singkham commented 2 years ago

Device: Jetson Nano 4GB OS: Ubuntu 20.04 Ros 2: Foxy SDK: 6.0 Python: 3.8

When running the ros2 run single_stream_pkg single_stream --ros-args -p input_source:="/dev/video0" command I receive the following error message "ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory". I fully installed the deepstream SDK and successfully ran the given examples. I also installed the deepstream python apps and ran that successfully.

The workstation is located in /home/ros2_ws/src/ros2_deepstream

poett1 commented 2 years ago

Hello, faced the same issue today. You have to build the deepstream_python_bindings first according to this README. I would recommend the Advanced build option to make sure it is building for aarch64. If the build process was successful, a .whl is located in the build folder. install it using pip3 install ./pyds-1.1.*.whl and you should be ready to go. Kind regards Patrtick