How to use spi i2c on dragonboard410c in debian buster by using upm python library

I am trying to Install upm library but its not working.
I also tried Installing it through the command line sudo apt-get install libupm-dev
it says library is already installed.
and I also followed these command but after cd upm/build its not working
$ sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
$ git clone https://github.com/intel-iot-devkit/upm.git
$ mkdir -p upm/build
$ cd upm/build
$ cmake -DBUILDSWIGNODE=OFF …
$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib/libump-*

i m trying to install upm library but it is not done.
i also tried to install it through the command line sudo apt-get install libupm-dev
it says library is already…
and i also followed these command but after cd upm/build it is not working
$ sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
$ git clone https://github.com/intel-iot-devkit/upm.git
$ mkdir -p upm/build
$ cd upm/build
$ cmake -DBUILDSWIGNODE=OFF …
$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib/libump-*

Commands alone don’t really give people much to go on. Sharing the
output of the commands is also a good idea (you can use a pastebin or
github gist if the logs are long… but it’s almost always a good idea
to share the full logs).