Librealsense and pyrealsense with Jetpack 4.4 r32.4.3


I successfully built and installed Librealsense (last version : 2.36.0) with python bindings on last Jetpack version, but when trying to use it with python I have this :
AttributeError: module ‘librealsense’ has no attribute ‘config’

To install it I used theses steps :

Installing some prerequisite :

sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev
sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev
sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev

installing curl

tar -xvjf curl-7.71.1.tar.bz2
cd curl-7.71.1
./configure --with-nghttp2=/usr/local --with-ssl
sudo make install
sudo ldconfig

Updating cmake with version 3.13 (needed to build librealsense on last jetpack version) :

tar xpvf cmake-3.13.0.tar.gz cmake-3.13.0/
cd cmake-3.13.0/
./bootstrap --system-curl
make -j6
echo ‘export PATH=/home/nvidia/cmake-3.13.0/bin/:$PATH’ >> ~/.bashrc
source ~/.bashrc

Installing Librealsense with python3 :

cd && git clone
cd librealsense
mkdir build && cd build
sudo make -j6
sudo make install
cd ~/librealsense
export PYTHONPATH=$PYTHONPATH:/usr/local/lib

Any idea of what is wrong ? Could anyone install Librealsense with pyrealsense on last Jetpack version ?

Have a try the older version.