Cool python GUI library build for Jetson Nano on ubuntu 20 (python dear imgui bundle)

Hello. I really like Python Dear Imgui Bundle, and use it everywhere, so I thought it would be useful to create a guide on building this libary for Jetson Nano with Ubuntu 20 on it. (I use Ubuntu 20 because i was not able to build it on Ubuntu 18)

You must have ubuntu 20 before following my guide:
follow this Install Ubuntu 20.04 on Jetson Nano - Q-engineering guide to do so.
You can expiriment with ubuntu 18, but it might not work.

I made a shell-script that installs everything automatically.
shell script can be found here => How to install python imgui bundle on jetson nano. Complete guide => · GitHub (1.5 KB)

And also you can just follow this guide


sudo apt update
sudo apt upgrade

Build python with OpenSSL

Install OpenSSL 1.1.1

cd /opt
sudo wget -O openssl.tgz 
sudo tar xzf openssl.tgz
sudo rm openssl.tgz
cd openssl-1.1.1j/
sudo ./config --prefix=/opt/openssl
sudo make
sudo make install

Install Python 3.10.6

cd /opt
sudo wget

sudo tar xzf Python-3.10.0.tgz
cd Python-3.10.0
sudo ./configure --with-openssl=/opt/openssl
sudo make
sudo make altinstall

Increase space swap: source => How to Increase Swap Space on Jetson Modules?

free -h

sudo fallocate -l 16G /swapfile
ls -lh /swapfile

sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

free -h

Install cmake 3.25

wget -O
sudo sh --prefix=/usr/local/ --exclude-subdir

check cmake version:
cmake --version

Create a folder with Python environment and activate it.

mkdir ImguiBundleProject
cd ImguiBundleProject
python3.10 -m venv ./venv
source venv/bin/activate # source venv/bin/  (for fish shell)

upgrade pip

python -m pip install --upgrade pip

must cmake>=3.24

Install requirements

sudo apt install default-jre
sudo apt-get install --no-install-recommends -y \
    curl \
    zip \
    g++ \
    make \
    ninja-build \
    libxml2-dev \
    libxml2-utils \
    libxslt1-dev \
    libarchive-dev \
    libssl-dev \
    libcurl4-openssl-dev \
    cpio \
    man \
    file \
git clone
cd srcml_caller
git submodule update --init # will fetch srcML submodule
pip install -r requirements-dev.txt
pip install -v .


sudo apt install libxinerama-dev
sudo apt install libxcursor-dev
git clone
cd imgui_bundle
git submodule update --init --recursive # (1)
pip install -r requirements-dev.txt
pip install opencv-contrib-python
pip install -v . # (2)

Going to top repository of this project (ImguiBundleProject)

cd ..

installing PyGLM in current environment.

./venv/bin/python -m pip install PyGLM

Launching demo_imgui_bundle



Would be awesome to see some python AI projects using this, because it is really powerful library.