Skip to content

[Install Log] Ubuntu (arm)

silencht edited this page Nov 4, 2025 · 7 revisions

1. Introduction

device: Unitree humanoid robot user development computing unit: NVIDIA Jetson Orin NX

system: ubuntu 22.04

2. Install

2.0 simplified version

# miniconda
unitree@ubuntu:~$ mkdir -p ~/miniconda3
unitree@ubuntu:~$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O ~/miniconda3/miniconda.sh
unitree@ubuntu:~$ bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
unitree@ubuntu:~$ rm ~/miniconda3/miniconda.sh
unitree@ubuntu:~$ source ~/miniconda3/bin/activate
(base) unitree@ubuntu:~$ conda init --all

# Create conda environment
(base) unitree@ubuntu:~$ conda create -n tv -y python=3.10 pinocchio=3.1.0 numpy=1.26.4 -c conda-forge
(base) unitree@ubuntu:~$ conda activate tv

# Clone repo and submodule                                                                    
(tv) unitree@ubuntu:~$ git clone https://github.com/unitreerobotics/xr_teleoperate.git
(tv) unitree@ubuntu:~$ cd xr_teleoperate                                                                          
(tv) unitree@ubuntu:~/xr_teleoperate$ git submodule update --init --depth 1  

# Install televuer submodule
(tv) unitree@ubuntu:~/xr_teleoperate$ cd teleop/televuer
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/televuer$ pip install -e .
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/televuer$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem

# Install dex-retargeting submodule
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/televuer$ cd ~
(tv) unitree@ubuntu:~$ sudo apt install swig
## upgrade cmake
(tv) unitree@ubuntu:~$ wget https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4.tar.gz
(tv) unitree@ubuntu:~$ tar -xzvf cmake-3.26.4.tar.gz
(tv) unitree@ubuntu:~$ cd cmake-3.26.4/
(tv) unitree@ubuntu:~/cmake-3.26.4$ ./bootstrap
(tv) unitree@ubuntu:~/cmake-3.26.4$ make -j$(nproc)
(tv) unitree@ubuntu:~/cmake-3.26.4$ sudo make install
(tv) unitree@ubuntu:~/cmake-3.26.4$ source ~/.bashrc
## install nlopt
(base) unitree@ubuntu:~$ conda activate tv
(tv) unitree@ubuntu:~$ git clone https://github.com/stevengj/nlopt
(tv) unitree@ubuntu:~$ cd nlopt/
(tv) unitree@ubuntu:~/nlopt$ mkdir build && cd build
(tv) unitree@ubuntu:~/nlopt/build$ cmake -DBUILD_SHARED_LIBS=OFF ..
(tv) unitree@ubuntu:~/nlopt/build$ make -j$(nproc)
(tv) unitree@ubuntu:~/nlopt/build$ sudo make install
(tv) unitree@ubuntu:~/nlopt/build$ pip install "nlopt>=2.6.1,<2.8.0"
## install dex-retargeting submodule
(tv) unitree@ubuntu:~/nlopt/build$ cd ~/xr_teleoperate/teleop/robot_control/dex-retargeting
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/robot_control/dex-retargeting$ pip install -e .

# Install additional dependencies
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/robot_control/dex-retargeting$ cd ../../../
(tv) unitree@ubuntu:~/xr_teleoperate$ pip install -r requirements.txt

# Install unitree_sdk2_python
(tv) unitree@ubuntu:~/xr_teleoperate$ cd ~
(tv) unitree@ubuntu:~$ git clone https://github.com/unitreerobotics/unitree_sdk2_python.git
(tv) unitree@ubuntu:~$ echo 'export CYCLONEDDS_HOME=/home/unitree/cyclonedds_ws/install/cyclonedds' >> ~/.bashrc
(tv) unitree@ubuntu:~$ source ~/.bashrc
(base) unitree@ubuntu:~$ conda activate tv
(tv) unitree@ubuntu:~$ cd unitree_sdk2_python
(tv) unitree@ubuntu:~/unitree_sdk2_python$ pip install -e .

Here is the full installation output for your reference.

2.1 miniconda

unitree@ubuntu:~$ mkdir -p ~/miniconda3
unitree@ubuntu:~$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O ~/miniconda3/miniconda.sh
--2025-07-08 17:18:06--  https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
Connecting to 192.168.123.15:7890... connected.
Proxy request sent, awaiting response... 200 OK
Length: 152466398 (145M) [application/octet-stream]
Saving to: ‘/home/unitree/miniconda3/miniconda.sh’

/home/unitree/miniconda3/min 100%[============================================>] 145.40M  22.1MB/s    in 5.9s    

2025-07-08 17:18:12 (24.7 MB/s) - ‘/home/unitree/miniconda3/miniconda.sh’ saved [152466398/152466398]

unitree@ubuntu:~$ bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
PREFIX=/home/unitree/miniconda3
Unpacking payload ...
entry_point.py:256: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
entry_point.py:256: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.

Installing base environment...

Preparing transaction: ...working... done
Executing transaction: ...working... done
entry_point.py:256: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
installation finished.
unitree@ubuntu:~$ rm ~/miniconda3/miniconda.sh
unitree@ubuntu:~$ source ~/miniconda3/bin/activate
(base) unitree@ubuntu:~$ conda init --all
no change     /home/unitree/miniconda3/condabin/conda
no change     /home/unitree/miniconda3/bin/conda
no change     /home/unitree/miniconda3/bin/conda-env
no change     /home/unitree/miniconda3/bin/activate
no change     /home/unitree/miniconda3/bin/deactivate
no change     /home/unitree/miniconda3/etc/profile.d/conda.sh
no change     /home/unitree/miniconda3/etc/fish/conf.d/conda.fish
no change     /home/unitree/miniconda3/shell/condabin/Conda.psm1
no change     /home/unitree/miniconda3/shell/condabin/conda-hook.ps1
no change     /home/unitree/miniconda3/lib/python3.13/site-packages/xontrib/conda.xsh
no change     /home/unitree/miniconda3/etc/profile.d/conda.csh
modified      /home/unitree/.bashrc
modified      /home/unitree/.zshrc
modified      /home/unitree/.config/fish/config.fish
modified      /home/unitree/.xonshrc
modified      /home/unitree/.tcshrc

==> For changes to take effect, close and re-open your current shell. <==

2.2 Create conda environment

(base) unitree@ubuntu:~$ conda create -n tv python=3.10 pinocchio=3.1.0 numpy=1.26.4 -c conda-forge
Channels:
 - conda-forge
 - defaults
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/unitree/miniconda3/envs/tv

  added / updated specs:
    - numpy=1.26.4
    - pinocchio=3.1.0
    - python=3.10


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _openmp_mutex-4.5          |            2_gnu          23 KB  conda-forge
    ampl-asl-1.0.0             |       h5ad3122_2         474 KB  conda-forge
    assimp-5.4.2               |       h534c654_1         3.2 MB  conda-forge
    bzip2-1.0.8                |       h68df207_7         185 KB  conda-forge
    ca-certificates-2025.6.15  |       hbd8a1cb_0         148 KB  conda-forge
    casadi-3.6.7               |  py310hbc243a2_5         5.0 MB  conda-forge
    console_bridge-1.0.2       |       hdd96247_1          18 KB  conda-forge
    eigen-3.4.0                |       h2a328a1_0         1.0 MB  conda-forge
    eigenpy-3.8.0              |  py310hb746ec6_0         2.6 MB  conda-forge
    hpp-fcl-2.4.5              |  py310h5567555_2         1.4 MB  conda-forge
    icu-75.1                   |       hf9b3779_0        11.7 MB  conda-forge
    ipopt-3.14.17              |       h06296af_2         972 KB  conda-forge
    ld_impl_linux-aarch64-2.44 |       h5e2c951_0         692 KB  conda-forge
    libblas-3.9.0              |32_h1a9f1db_openblas          17 KB  conda-forge
    libblasfeo-0.1.4.2         |       h9f33b5a_0         719 KB  conda-forge
    libboost-1.86.0            |       h4d13611_3         2.9 MB  conda-forge
    libboost-devel-1.86.0      |       h37bb5a9_3          36 KB  conda-forge
    libboost-headers-1.86.0    |       h8af1aa0_3        13.4 MB  conda-forge
    libboost-python-1.86.0     |  py310h9e94223_3         115 KB  conda-forge
    libboost-python-devel-1.86.0|  py310h36e1b2c_3          17 KB  conda-forge
    libcblas-3.9.0             |32_hab92f65_openblas          17 KB  conda-forge
    libexpat-2.7.0             |       h5ad3122_0          71 KB  conda-forge
    libfatrop-0.0.4            |       h5ad3122_1         224 KB  conda-forge
    libffi-3.4.6               |       he21f813_1          55 KB  conda-forge
    libgcc-15.1.0              |       he277a41_3         498 KB  conda-forge
    libgcc-ng-15.1.0           |       he9431aa_3          28 KB  conda-forge
    libgfortran-15.1.0         |       he9431aa_3          28 KB  conda-forge
    libgfortran-ng-15.1.0      |       he9431aa_3          28 KB  conda-forge
    libgfortran5-15.1.0        |       hbc25352_3         1.1 MB  conda-forge
    libgomp-15.1.0             |       he277a41_3         439 KB  conda-forge
    libhwloc-2.11.2            |default_h2c612a5_1001         2.3 MB  conda-forge
    libiconv-1.18              |       hc99b53d_1         702 KB  conda-forge
    liblapack-3.9.0            |32_h411afd4_openblas          17 KB  conda-forge
    liblzma-5.8.1              |       h86ecc28_2         122 KB  conda-forge
    liblzma-devel-5.8.1        |       h86ecc28_2         431 KB  conda-forge
    libnsl-2.0.1               |       h86ecc28_1          34 KB  conda-forge
    libopenblas-0.3.30         |pthreads_h9d3fd7e_0         4.7 MB  conda-forge
    libosqp-0.6.3              |       h5ad3122_1         405 KB  conda-forge
    libqdldl-0.1.7             |       hd600fc2_0          18 KB  conda-forge
    libscotch-7.0.4            |       h68efd32_5         349 KB  conda-forge
    libspral-2025.03.06        |       h43eceae_0         648 KB  conda-forge
    libsqlite-3.50.2           |       he2a92bd_0         897 KB  conda-forge
    libstdcxx-15.1.0           |       h3f4de04_3         3.7 MB  conda-forge
    libstdcxx-ng-15.1.0        |       hf1166c9_3          28 KB  conda-forge
    libuuid-2.38.1             |       hb4cce97_0          35 KB  conda-forge
    libxcrypt-4.4.36           |       h31becfc_1         112 KB  conda-forge
    libxml2-2.13.8             |       he060846_0         717 KB  conda-forge
    libzlib-1.3.1              |       h86ecc28_2          65 KB  conda-forge
    metis-5.1.0                |    h670dfbf_1007         3.7 MB  conda-forge
    mumps-include-5.7.3        |      habe6132_10          20 KB  conda-forge
    mumps-seq-5.7.3            |       h0922659_0         1.7 MB  conda-forge
    ncurses-6.5                |       ha32ae93_3         904 KB  conda-forge
    numpy-1.26.4               |  py310hcbab775_0         5.8 MB  conda-forge
    octomap-1.9.8              |       hdd96247_0         292 KB  conda-forge
    openssl-3.5.1              |       hd08dc88_0         3.5 MB  conda-forge
    pinocchio-3.1.0            |  py310h7004391_2        13.4 MB  conda-forge
    pip-25.1.1                 |     pyh8b19718_0         1.2 MB  conda-forge
    proxsuite-0.7.2            |  py310hf54e67a_1         471 KB  conda-forge
    python-3.10.18             |h256493d_0_cpython        12.4 MB  conda-forge
    python_abi-3.10            |          7_cp310           7 KB  conda-forge
    qhull-2020.2               |       h70be974_5         542 KB  conda-forge
    qhull-static-2020.2        |       h70be974_5         446 KB  conda-forge
    readline-8.2               |       h8382b9d_2         285 KB  conda-forge
    scipy-1.15.2               |  py310hf37559f_0        15.5 MB  conda-forge
    setuptools-80.9.0          |     pyhff2d567_0         731 KB  conda-forge
    simde-0.8.2                |       h17cf362_0         470 KB  conda-forge
    tinyxml2-10.0.0            |       h5ad3122_2         130 KB  conda-forge
    tk-8.6.13                  |noxft_h5688188_102         3.2 MB  conda-forge
    tzdata-2025b               |       h78e105d_0         120 KB  conda-forge
    urdfdom-4.0.1              |       h4cba3dc_2         124 KB  conda-forge
    urdfdom_headers-1.1.2      |       h17cf362_0          19 KB  conda-forge
    wheel-0.45.1               |     pyhd8ed1ab_1          61 KB  conda-forge
    xz-5.8.1                   |       h2dbfc1b_2          23 KB  conda-forge
    xz-gpl-tools-5.8.1         |       h2dbfc1b_2          33 KB  conda-forge
    xz-tools-5.8.1             |       h86ecc28_2          99 KB  conda-forge
    zlib-1.3.1                 |       h86ecc28_2          93 KB  conda-forge
    zstd-1.5.7                 |       hbcf94c1_2         538 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       127.9 MB

The following NEW packages will be INSTALLED:

  _openmp_mutex      conda-forge/linux-aarch64::_openmp_mutex-4.5-2_gnu 
  ampl-asl           conda-forge/linux-aarch64::ampl-asl-1.0.0-h5ad3122_2 
  assimp             conda-forge/linux-aarch64::assimp-5.4.2-h534c654_1 
  bzip2              conda-forge/linux-aarch64::bzip2-1.0.8-h68df207_7 
  ca-certificates    conda-forge/noarch::ca-certificates-2025.6.15-hbd8a1cb_0 
  casadi             conda-forge/linux-aarch64::casadi-3.6.7-py310hbc243a2_5 
  console_bridge     conda-forge/linux-aarch64::console_bridge-1.0.2-hdd96247_1 
  eigen              conda-forge/linux-aarch64::eigen-3.4.0-h2a328a1_0 
  eigenpy            conda-forge/linux-aarch64::eigenpy-3.8.0-py310hb746ec6_0 
  hpp-fcl            conda-forge/linux-aarch64::hpp-fcl-2.4.5-py310h5567555_2 
  icu                conda-forge/linux-aarch64::icu-75.1-hf9b3779_0 
  ipopt              conda-forge/linux-aarch64::ipopt-3.14.17-h06296af_2 
  ld_impl_linux-aar~ conda-forge/linux-aarch64::ld_impl_linux-aarch64-2.44-h5e2c951_0 
  libblas            conda-forge/linux-aarch64::libblas-3.9.0-32_h1a9f1db_openblas 
  libblasfeo         conda-forge/linux-aarch64::libblasfeo-0.1.4.2-h9f33b5a_0 
  libboost           conda-forge/linux-aarch64::libboost-1.86.0-h4d13611_3 
  libboost-devel     conda-forge/linux-aarch64::libboost-devel-1.86.0-h37bb5a9_3 
  libboost-headers   conda-forge/linux-aarch64::libboost-headers-1.86.0-h8af1aa0_3 
  libboost-python    conda-forge/linux-aarch64::libboost-python-1.86.0-py310h9e94223_3 
  libboost-python-d~ conda-forge/linux-aarch64::libboost-python-devel-1.86.0-py310h36e1b2c_3 
  libcblas           conda-forge/linux-aarch64::libcblas-3.9.0-32_hab92f65_openblas 
  libexpat           conda-forge/linux-aarch64::libexpat-2.7.0-h5ad3122_0 
  libfatrop          conda-forge/linux-aarch64::libfatrop-0.0.4-h5ad3122_1 
  libffi             conda-forge/linux-aarch64::libffi-3.4.6-he21f813_1 
  libgcc             conda-forge/linux-aarch64::libgcc-15.1.0-he277a41_3 
  libgcc-ng          conda-forge/linux-aarch64::libgcc-ng-15.1.0-he9431aa_3 
  libgfortran        conda-forge/linux-aarch64::libgfortran-15.1.0-he9431aa_3 
  libgfortran-ng     conda-forge/linux-aarch64::libgfortran-ng-15.1.0-he9431aa_3 
  libgfortran5       conda-forge/linux-aarch64::libgfortran5-15.1.0-hbc25352_3 
  libgomp            conda-forge/linux-aarch64::libgomp-15.1.0-he277a41_3 
  libhwloc           conda-forge/linux-aarch64::libhwloc-2.11.2-default_h2c612a5_1001 
  libiconv           conda-forge/linux-aarch64::libiconv-1.18-hc99b53d_1 
  liblapack          conda-forge/linux-aarch64::liblapack-3.9.0-32_h411afd4_openblas 
  liblzma            conda-forge/linux-aarch64::liblzma-5.8.1-h86ecc28_2 
  liblzma-devel      conda-forge/linux-aarch64::liblzma-devel-5.8.1-h86ecc28_2 
  libnsl             conda-forge/linux-aarch64::libnsl-2.0.1-h86ecc28_1 
  libopenblas        conda-forge/linux-aarch64::libopenblas-0.3.30-pthreads_h9d3fd7e_0 
  libosqp            conda-forge/linux-aarch64::libosqp-0.6.3-h5ad3122_1 
  libqdldl           conda-forge/linux-aarch64::libqdldl-0.1.7-hd600fc2_0 
  libscotch          conda-forge/linux-aarch64::libscotch-7.0.4-h68efd32_5 
  libspral           conda-forge/linux-aarch64::libspral-2025.03.06-h43eceae_0 
  libsqlite          conda-forge/linux-aarch64::libsqlite-3.50.2-he2a92bd_0 
  libstdcxx          conda-forge/linux-aarch64::libstdcxx-15.1.0-h3f4de04_3 
  libstdcxx-ng       conda-forge/linux-aarch64::libstdcxx-ng-15.1.0-hf1166c9_3 
  libuuid            conda-forge/linux-aarch64::libuuid-2.38.1-hb4cce97_0 
  libxcrypt          conda-forge/linux-aarch64::libxcrypt-4.4.36-h31becfc_1 
  libxml2            conda-forge/linux-aarch64::libxml2-2.13.8-he060846_0 
  libzlib            conda-forge/linux-aarch64::libzlib-1.3.1-h86ecc28_2 
  metis              conda-forge/linux-aarch64::metis-5.1.0-h670dfbf_1007 
  mumps-include      conda-forge/linux-aarch64::mumps-include-5.7.3-habe6132_10 
  mumps-seq          conda-forge/linux-aarch64::mumps-seq-5.7.3-h0922659_0 
  ncurses            conda-forge/linux-aarch64::ncurses-6.5-ha32ae93_3 
  numpy              conda-forge/linux-aarch64::numpy-1.26.4-py310hcbab775_0 
  octomap            conda-forge/linux-aarch64::octomap-1.9.8-hdd96247_0 
  openssl            conda-forge/linux-aarch64::openssl-3.5.1-hd08dc88_0 
  pinocchio          conda-forge/linux-aarch64::pinocchio-3.1.0-py310h7004391_2 
  pip                conda-forge/noarch::pip-25.1.1-pyh8b19718_0 
  proxsuite          conda-forge/linux-aarch64::proxsuite-0.7.2-py310hf54e67a_1 
  python             conda-forge/linux-aarch64::python-3.10.18-h256493d_0_cpython 
  python_abi         conda-forge/noarch::python_abi-3.10-7_cp310 
  qhull              conda-forge/linux-aarch64::qhull-2020.2-h70be974_5 
  qhull-static       conda-forge/linux-aarch64::qhull-static-2020.2-h70be974_5 
  readline           conda-forge/linux-aarch64::readline-8.2-h8382b9d_2 
  scipy              conda-forge/linux-aarch64::scipy-1.15.2-py310hf37559f_0 
  setuptools         conda-forge/noarch::setuptools-80.9.0-pyhff2d567_0 
  simde              conda-forge/linux-aarch64::simde-0.8.2-h17cf362_0 
  tinyxml2           conda-forge/linux-aarch64::tinyxml2-10.0.0-h5ad3122_2 
  tk                 conda-forge/linux-aarch64::tk-8.6.13-noxft_h5688188_102 
  tzdata             conda-forge/noarch::tzdata-2025b-h78e105d_0 
  urdfdom            conda-forge/linux-aarch64::urdfdom-4.0.1-h4cba3dc_2 
  urdfdom_headers    conda-forge/linux-aarch64::urdfdom_headers-1.1.2-h17cf362_0 
  wheel              conda-forge/noarch::wheel-0.45.1-pyhd8ed1ab_1 
  xz                 conda-forge/linux-aarch64::xz-5.8.1-h2dbfc1b_2 
  xz-gpl-tools       conda-forge/linux-aarch64::xz-gpl-tools-5.8.1-h2dbfc1b_2 
  xz-tools           conda-forge/linux-aarch64::xz-tools-5.8.1-h86ecc28_2 
  zlib               conda-forge/linux-aarch64::zlib-1.3.1-h86ecc28_2 
  zstd               conda-forge/linux-aarch64::zstd-1.5.7-hbcf94c1_2 


Proceed ([y]/n)? y


Downloading and Extracting Packages:
                                                                                                                  
Preparing transaction: done                                                                                       
Verifying transaction: done                                                                                       
Executing transaction: done                                                                                       
#                                                                                                                 
# To activate this environment, use                                                                               
#                                                                                                                 
#     $ conda activate tv                                                                                         
#                                                                                                                 
# To deactivate an active environment, use                                                                        
#                                                                                                                 
#     $ conda deactivate                                                                                          
                                                                                                                  
(base) unitree@ubuntu:~$ conda activate tv

2.3 Clone repo and submodule

(tv) unitree@ubuntu:~$ git clone https://github.com/unitreerobotics/xr_teleoperate.git                            
Cloning into 'xr_teleoperate'...                                                                                  
remote: Enumerating objects: 1063, done.
remote: Counting objects: 100% (378/378), done.
remote: Compressing objects: 100% (124/124), done.
remote: Total 1063 (delta 285), reused 281 (delta 254), pack-reused 685 (from 2)
Receiving objects: 100% (1063/1063), 142.59 MiB | 18.20 MiB/s, done.                                              
Resolving deltas: 100% (502/502), done.                                                                           
(tv) unitree@ubuntu:~$ cd xr_teleoperate                                                                          
(tv) unitree@ubuntu:~/xr_teleoperate$ git submodule update --init --depth 1                                       
Submodule 'teleop/robot_control/dex-retargeting' (https://github.com/silencht/dex-retargeting) registered for path 'teleop/robot_control/dex-retargeting'                                                                           
Submodule 'teleop/televuer' (https://github.com/silencht/televuer) registered for path 'teleop/televuer'          
Cloning into '/home/unitree/xr_teleoperate/teleop/robot_control/dex-retargeting'...                               
Cloning into '/home/unitree/xr_teleoperate/teleop/televuer'...                                                    
Submodule path 'teleop/robot_control/dex-retargeting': checked out 'd7753d38c9ff11f80bafea6cd168351fd3db9b0e'
Submodule path 'teleop/televuer': checked out '34f4475fca12166d2c52f2469385a851f614fd4e'

2.4 Install televuer submodule

(tv) unitree@ubuntu:~/xr_teleoperate$ cd teleop/televuer
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/televuer$ pip install -e .
Obtaining file:///home/unitree/xr_teleoperate/teleop/televuer
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: numpy<2.0.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from televuer==0.0.3) (1.26.4)
Collecting opencv-python (from televuer==0.0.3)
  Downloading opencv_python-4.12.0.88-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.metadata (19 kB)
Collecting logging-mp (from televuer==0.0.3)
  Downloading logging_mp-0.1.5-py3-none-any.whl.metadata (3.0 kB)
Collecting vuer==0.0.60 (from vuer[all]==0.0.60->televuer==0.0.3)
  Downloading vuer-0.0.60-py3-none-any.whl.metadata (5.8 kB)
Collecting params-proto>=2.13.0 (from vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading params_proto-2.13.2-py3-none-any.whl.metadata (8.7 kB)
Collecting pillow (from vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading pillow-11.3.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.metadata (9.0 kB)
Collecting msgpack (from vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading msgpack-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (8.4 kB)
Collecting websockets (from vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading websockets-15.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (6.8 kB)
Collecting aiohttp==3.10.5 (from vuer[all]==0.0.60->televuer==0.0.3)
  Downloading aiohttp-3.10.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (7.5 kB)
Collecting aiohttp-cors (from vuer[all]==0.0.60->televuer==0.0.3)
  Downloading aiohttp_cors-0.8.1-py3-none-any.whl.metadata (20 kB)
Collecting killport (from vuer[all]==0.0.60->televuer==0.0.3)
  Downloading killport-1.2.0-py3-none-any.whl.metadata (1.4 kB)
Collecting aiohappyeyeballs>=2.3.0 (from aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading aiohappyeyeballs-2.6.1-py3-none-any.whl.metadata (5.9 kB)
Collecting aiosignal>=1.1.2 (from aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading aiosignal-1.4.0-py3-none-any.whl.metadata (3.7 kB)
Collecting attrs>=17.3.0 (from aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading attrs-25.3.0-py3-none-any.whl.metadata (10 kB)
Collecting frozenlist>=1.1.1 (from aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading frozenlist-1.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (18 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading multidict-6.6.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata (5.3 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading yarl-1.20.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (73 kB)
Collecting async-timeout<5.0,>=4.0 (from aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting typing-extensions>=4.1.0 (from multidict<7.0,>=4.5->aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading typing_extensions-4.14.1-py3-none-any.whl.metadata (3.0 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting propcache>=0.2.1 (from yarl<2.0,>=1.0->aiohttp==3.10.5->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading propcache-0.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (12 kB)
Collecting waterbear>=2.6.8 (from params-proto>=2.13.0->vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading waterbear-2.6.8-py3-none-any.whl.metadata (9.8 kB)
Collecting argparse (from params-proto>=2.13.0->vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading argparse-1.4.0-py2.py3-none-any.whl.metadata (2.8 kB)
Collecting argcomplete (from params-proto>=2.13.0->vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading argcomplete-3.6.2-py3-none-any.whl.metadata (16 kB)
Collecting expandvars (from params-proto>=2.13.0->vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading expandvars-1.0.0-py3-none-any.whl.metadata (6.0 kB)
Collecting termcolor (from params-proto>=2.13.0->vuer==0.0.60->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading termcolor-3.1.0-py3-none-any.whl.metadata (6.4 kB)
Collecting psutil (from killport->vuer[all]==0.0.60->televuer==0.0.3)
  Downloading psutil-7.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (22 kB)
Collecting rich>=13.0 (from logging-mp->televuer==0.0.3)
  Downloading rich-14.0.0-py3-none-any.whl.metadata (18 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=13.0->logging-mp->televuer==0.0.3)
  Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=13.0->logging-mp->televuer==0.0.3)
  Downloading pygments-2.19.2-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=13.0->logging-mp->televuer==0.0.3)
  Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
INFO: pip is looking at multiple versions of opencv-python to determine which version is compatible with other requirements. This could take a while.
Collecting opencv-python (from televuer==0.0.3)
  Downloading opencv_python-4.11.0.86-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (20 kB)
Downloading vuer-0.0.60-py3-none-any.whl (30.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 30.8/30.8 MB 12.6 MB/s eta 0:00:00
Downloading aiohttp-3.10.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 52.9 MB/s eta 0:00:00
Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Downloading multidict-6.6.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (242 kB)
Downloading yarl-1.20.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (323 kB)
Downloading aiohappyeyeballs-2.6.1-py3-none-any.whl (15 kB)
Downloading aiosignal-1.4.0-py3-none-any.whl (7.5 kB)
Downloading attrs-25.3.0-py3-none-any.whl (63 kB)
Downloading frozenlist-1.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (224 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading params_proto-2.13.2-py3-none-any.whl (22 kB)
Downloading propcache-0.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (201 kB)
Downloading typing_extensions-4.14.1-py3-none-any.whl (43 kB)
Downloading waterbear-2.6.8-py3-none-any.whl (9.8 kB)
Downloading aiohttp_cors-0.8.1-py3-none-any.whl (25 kB)
Downloading argcomplete-3.6.2-py3-none-any.whl (43 kB)
Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Downloading expandvars-1.0.0-py3-none-any.whl (7.4 kB)
Downloading killport-1.2.0-py3-none-any.whl (3.4 kB)
Downloading logging_mp-0.1.5-py3-none-any.whl (3.5 kB)
Downloading rich-14.0.0-py3-none-any.whl (243 kB)
Downloading pygments-2.19.2-py3-none-any.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 19.5 MB/s eta 0:00:00
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Downloading msgpack-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (402 kB)
Downloading opencv_python-4.11.0.86-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (42.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.2/42.2 MB 37.7 MB/s eta 0:00:00
Downloading pillow-11.3.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 31.8 MB/s eta 0:00:00
Downloading psutil-7.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (279 kB)
Downloading termcolor-3.1.0-py3-none-any.whl (7.7 kB)
Downloading websockets-15.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (182 kB)
Building wheels for collected packages: televuer
  Building editable for televuer (pyproject.toml) ... done
  Created wheel for televuer: filename=televuer-0.0.3-0.editable-py3-none-any.whl size=2220 sha256=a8fe9bfddbb49ba78c035c9cc450e3600bfc3c0cced65fb2be5b845ff25a2d68
  Stored in directory: /tmp/pip-ephem-wheel-cache-_8cysjzf/wheels/b6/11/73/1126614fd723aad7421a8f53fc5e69c5df6368c0bc7da28417
Successfully built televuer
Installing collected packages: waterbear, argparse, websockets, typing-extensions, termcolor, pygments, psutil, propcache, pillow, opencv-python, msgpack, mdurl, idna, frozenlist, expandvars, attrs, async-timeout, argcomplete, aiohappyeyeballs, params-proto, multidict, markdown-it-py, killport, aiosignal, yarl, vuer, rich, logging-mp, aiohttp, aiohttp-cors, televuer
Successfully installed aiohappyeyeballs-2.6.1 aiohttp-3.10.5 aiohttp-cors-0.8.1 aiosignal-1.4.0 argcomplete-3.6.2 argparse-1.4.0 async-timeout-4.0.3 attrs-25.3.0 expandvars-1.0.0 frozenlist-1.7.0 idna-3.10 killport-1.2.0 logging-mp-0.1.5 markdown-it-py-3.0.0 mdurl-0.1.2 msgpack-1.1.1 multidict-6.6.3 opencv-python-4.11.0.86 params-proto-2.13.2 pillow-11.3.0 propcache-0.3.2 psutil-7.0.0 pygments-2.19.2 rich-14.0.0 televuer-0.0.3 termcolor-3.1.0 typing-extensions-4.14.1 vuer-0.0.60 waterbear-2.6.8 websockets-15.0.1 yarl-1.20.1
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/televuer$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem
.........+...+....+..+.+..+...+.......+...........+++++++++++++++++++++++++++++++++++++++*..+...+...+..+.......+........+....+........................+..+.......+++++++++++++++++++++++++++++++++++++++*.....+.......+......+............+.....+....+.........+..+........................+...+.......+......+..............+.........+....+...........+....+..+...............+..........+...+...+..+......+.......+..+......+.+.....+...+.+......+.....+.+.........+.....+.+...+...........+...............+....+..+..........+.........+......+...+..............+...+....+...+...+........+....+........+.......+.....+.......+...+......++++++
...+...+...............+.+..+...+.+...+.....+......+......+.+..............+....+...........+++++++++++++++++++++++++++++++++++++++*.+.......+.....+.+..+.............+..+...+.......+.....+............+.+.....+.........+++++++++++++++++++++++++++++++++++++++*.....+....+......+...........+....+.....+.+......+.....+.........+.+............+........+.............+......+...........+...............+...+.+......+..+......+.+.....+.++++++
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:
Email Address []:

2.5 Install dex-retargeting submodule

(tv) unitree@ubuntu:~/xr_teleoperate/teleop/televuer$ cd ../robot_control/dex-retargeting/
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/robot_control/dex-retargeting$ pip install -e .
Obtaining file:///home/unitree/xr_teleoperate/teleop/robot_control/dex-retargeting
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: numpy<2.0.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from dex_retargeting==0.4.7) (1.26.4)
Collecting torch==2.3.0 (from dex_retargeting==0.4.7)
  Downloading torch-2.3.0-cp310-cp310-manylinux2014_aarch64.whl.metadata (26 kB)
Collecting pytransform3d>=3.5.0 (from dex_retargeting==0.4.7)
  Downloading pytransform3d-3.14.2-py3-none-any.whl.metadata (10 kB)
Collecting pin>=2.7.0 (from dex_retargeting==0.4.7)
  Downloading pin-3.7.0-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (24 kB)
Collecting nlopt<2.8.0,>=2.6.1 (from dex_retargeting==0.4.7)
  Downloading nlopt-2.6.2.tar.gz (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 8.0 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting trimesh>=4.4.0 (from dex_retargeting==0.4.7)
  Downloading trimesh-4.6.13-py3-none-any.whl.metadata (18 kB)
Collecting anytree>=2.12.0 (from dex_retargeting==0.4.7)
  Downloading anytree-2.13.0-py3-none-any.whl.metadata (8.0 kB)
Collecting pyyaml>=6.0.0 (from dex_retargeting==0.4.7)
  Downloading PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (2.1 kB)
Collecting lxml>=5.2.2 (from dex_retargeting==0.4.7)
  Downloading lxml-6.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.metadata (6.6 kB)
Collecting filelock (from torch==2.3.0->dex_retargeting==0.4.7)
  Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
Requirement already satisfied: typing-extensions>=4.8.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from torch==2.3.0->dex_retargeting==0.4.7) (4.14.1)
Collecting sympy (from torch==2.3.0->dex_retargeting==0.4.7)
  Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch==2.3.0->dex_retargeting==0.4.7)
  Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting jinja2 (from torch==2.3.0->dex_retargeting==0.4.7)
  Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting fsspec (from torch==2.3.0->dex_retargeting==0.4.7)
  Downloading fsspec-2025.5.1-py3-none-any.whl.metadata (11 kB)
Collecting cmeel (from pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel-0.57.3-py3-none-any.whl.metadata (4.7 kB)
Collecting cmeel-boost~=1.87.0 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_boost-1.87.0.1-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (1.0 kB)
Collecting cmeel-urdfdom>=4 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_urdfdom-4.0.1-1-py3-none-manylinux_2_28_aarch64.whl.metadata (2.7 kB)
Collecting coal<4,>=3 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading coal-3.0.1-1-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (14 kB)
INFO: pip is looking at multiple versions of cmeel-boost to determine which version is compatible with other requirements. This could take a while.
Collecting pin>=2.7.0 (from dex_retargeting==0.4.7)
  Downloading pin-3.4.0-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (24 kB)
Collecting coal-library<4,>=3 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading coal_library-3.0.1-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (14 kB)
Collecting pin>=2.7.0 (from dex_retargeting==0.4.7)
  Downloading pin-3.3.1-1-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (24 kB)
Collecting cmeel-urdfdom<4,>=3.1.1.1 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_urdfdom-3.1.1.1-0-py3-none-manylinux_2_28_aarch64.whl.metadata (2.8 kB)
Collecting pin>=2.7.0 (from dex_retargeting==0.4.7)
  Downloading pin-2.7.0-2-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (20 kB)
Collecting cmeel-boost~=1.83.0 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_boost-1.83.0-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (1000 bytes)
Collecting hpp-fcl<4,>=2.3.4 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading hpp_fcl-2.4.4-3-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (5.8 kB)
Collecting cmeel-console-bridge (from cmeel-urdfdom<4,>=3.1.1.1->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_console_bridge-1.0.2.3-0-py3-none-manylinux_2_28_aarch64.whl.metadata (1.0 kB)
Collecting cmeel-tinyxml (from cmeel-urdfdom<4,>=3.1.1.1->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_tinyxml-2.6.2.3-0-py3-none-manylinux_2_28_aarch64.whl.metadata (389 bytes)
Collecting cmeel-assimp<6,>=5.3.1 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_assimp-5.4.3.1-0-py3-none-manylinux_2_28_aarch64.whl.metadata (968 bytes)
Collecting cmeel-octomap<2,>=1.9.8.2 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_octomap-1.10.0-5-py3-none-manylinux_2_28_aarch64.whl.metadata (983 bytes)
Collecting cmeel-qhull<8.0.3,>=8.0.2.1 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_qhull-8.0.2.1-1-py3-none-manylinux_2_28_aarch64.whl.metadata (838 bytes)
Collecting eigenpy<4,>=3.1 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading eigenpy-3.10.3-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (5.3 kB)
Collecting cmeel-zlib (from cmeel-assimp<6,>=5.3.1->hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading cmeel_zlib-1.3.1-0-py3-none-manylinux_2_28_aarch64.whl.metadata (706 bytes)
INFO: pip is looking at multiple versions of eigenpy to determine which version is compatible with other requirements. This could take a while.
Collecting eigenpy<4,>=3.1 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading eigenpy-3.10.1-1-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (6.1 kB)
  Downloading eigenpy-3.5.1-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (5.0 kB)
Requirement already satisfied: scipy in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from pytransform3d>=3.5.0->dex_retargeting==0.4.7) (1.15.2)
Collecting matplotlib (from pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading matplotlib-3.10.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (11 kB)
Collecting tomli>=2.1.0 (from cmeel->pin>=2.7.0->dex_retargeting==0.4.7)
  Downloading tomli-2.2.1-py3-none-any.whl.metadata (10 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch==2.3.0->dex_retargeting==0.4.7)
  Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (4.0 kB)
Collecting contourpy>=1.0.1 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading contourpy-1.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (5.5 kB)
Collecting cycler>=0.10 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading fonttools-4.58.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata (106 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading kiwisolver-1.4.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (6.2 kB)
Collecting packaging>=20.0 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
Requirement already satisfied: pillow>=8 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7) (11.3.0)
Collecting pyparsing>=2.3.1 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading pyparsing-3.2.3-py3-none-any.whl.metadata (5.0 kB)
Collecting python-dateutil>=2.7 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy->torch==2.3.0->dex_retargeting==0.4.7)
  Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Downloading torch-2.3.0-cp310-cp310-manylinux2014_aarch64.whl (88.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.5/88.5 MB 11.8 MB/s eta 0:00:00
Downloading anytree-2.13.0-py3-none-any.whl (45 kB)
Downloading lxml-6.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (5.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.1/5.1 MB 41.4 MB/s eta 0:00:00
Downloading pin-2.7.0-2-cp310-cp310-manylinux_2_28_aarch64.whl (6.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 33.6 MB/s eta 0:00:00
Downloading cmeel_boost-1.83.0-0-cp310-cp310-manylinux_2_28_aarch64.whl (34.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.5/34.5 MB 25.2 MB/s eta 0:00:00
Downloading cmeel_urdfdom-3.1.1.1-0-py3-none-manylinux_2_28_aarch64.whl (391 kB)
Downloading hpp_fcl-2.4.4-3-cp310-cp310-manylinux_2_28_aarch64.whl (2.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 53.4 MB/s eta 0:00:00
Downloading cmeel_assimp-5.4.3.1-0-py3-none-manylinux_2_28_aarch64.whl (13.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.4/13.4 MB 35.5 MB/s eta 0:00:00
Downloading cmeel_octomap-1.10.0-5-py3-none-manylinux_2_28_aarch64.whl (1.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 42.8 MB/s eta 0:00:00
Downloading cmeel_qhull-8.0.2.1-1-py3-none-manylinux_2_28_aarch64.whl (3.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 28.1 MB/s eta 0:00:00
Downloading eigenpy-3.5.1-0-cp310-cp310-manylinux_2_28_aarch64.whl (5.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 13.7 MB/s eta 0:00:00
Downloading pytransform3d-3.14.2-py3-none-any.whl (164 kB)
Downloading PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (718 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 718.5/718.5 kB 33.7 MB/s eta 0:00:00
Downloading trimesh-4.6.13-py3-none-any.whl (712 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 712.4/712.4 kB 44.5 MB/s eta 0:00:00
Downloading cmeel-0.57.3-py3-none-any.whl (20 kB)
Downloading tomli-2.2.1-py3-none-any.whl (14 kB)
Downloading cmeel_console_bridge-1.0.2.3-0-py3-none-manylinux_2_28_aarch64.whl (25 kB)
Downloading cmeel_tinyxml-2.6.2.3-0-py3-none-manylinux_2_28_aarch64.whl (61 kB)
Downloading cmeel_zlib-1.3.1-0-py3-none-manylinux_2_28_aarch64.whl (286 kB)
Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
Downloading fsspec-2025.5.1-py3-none-any.whl (199 kB)
Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)
Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21 kB)
Downloading matplotlib-3.10.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.5/8.5 MB 35.3 MB/s eta 0:00:00
Downloading contourpy-1.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (312 kB)
Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Downloading fonttools-4.58.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (4.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 40.1 MB/s eta 0:00:00
Downloading kiwisolver-1.4.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 23.6 MB/s eta 0:00:00
Downloading packaging-25.0-py3-none-any.whl (66 kB)
Downloading pyparsing-3.2.3-py3-none-any.whl (111 kB)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 53.7 MB/s eta 0:00:00
Downloading sympy-1.14.0-py3-none-any.whl (6.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 14.5 MB/s eta 0:00:00
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 17.2 MB/s eta 0:00:00
Building wheels for collected packages: dex_retargeting, nlopt
  Building editable for dex_retargeting (pyproject.toml) ... done
  Created wheel for dex_retargeting: filename=dex_retargeting-0.4.7-0.editable-py3-none-any.whl size=2439 sha256=270a6e0a53711b0f8e3fe4a1a0efe17aa5a3aa43181d0541f0907f2675f92524
  Stored in directory: /tmp/pip-ephem-wheel-cache-5bhzlmbn/wheels/32/e4/2a/a7570ae9b1f2db15046bfd9685b75d3bca999252da3d20a43d
  DEPRECATION: Building 'nlopt' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'nlopt'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for nlopt (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [190 lines of output]
      running bdist_wheel
      running build
      running build_ext
      cmake version 3.16.3
      
      CMake suite maintained and supported by Kitware (kitware.com/cmake).
      -- The C compiler identification is GNU 9.4.0
      -- The CXX compiler identification is GNU 9.4.0
      -- Check for working C compiler: /usr/bin/cc
      -- Check for working C compiler: /usr/bin/cc -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Check for working CXX compiler: /usr/bin/c++
      -- Check for working CXX compiler: /usr/bin/c++ -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Found PythonInterp: /home/unitree/miniconda3/envs/tv/bin/python3.10 (found version "3.10.18")
      -- Found Python includes: /home/unitree/miniconda3/envs/tv/include/python3.10
      -- Found Python libs: /home/unitree/miniconda3/envs/tv/lib
      -- NLopt version 2.6.2
      -- Looking for dlfcn.h
      -- Looking for dlfcn.h - found
      -- Looking for getopt.h
      -- Looking for getopt.h - found
      -- Looking for unistd.h
      -- Looking for unistd.h - found
      -- Looking for string.h
      -- Looking for string.h - found
      -- Looking for strings.h
      -- Looking for strings.h - found
      -- Looking for inttypes.h
      -- Looking for inttypes.h - found
      -- Looking for memory.h
      -- Looking for memory.h - found
      -- Looking for stdlib.h
      -- Looking for stdlib.h - found
      -- Looking for stdint.h
      -- Looking for stdint.h - found
      -- Looking for time.h
      -- Looking for time.h - found
      -- Looking for sys/types.h
      -- Looking for sys/types.h - found
      -- Looking for sys/stat.h
      -- Looking for sys/stat.h - found
      -- Looking for sys/time.h
      -- Looking for sys/time.h - found
      -- Looking for getpid
      -- Looking for getpid - found
      -- Looking for syscall
      -- Looking for syscall - found
      -- Looking for isinf
      -- Looking for isinf - found
      -- Looking for isnan
      -- Looking for isnan - found
      -- Looking for gettimeofday
      -- Looking for gettimeofday - found
      -- Looking for qsort_r
      -- Looking for qsort_r - found
      -- Looking for time
      -- Looking for time - found
      -- Looking for copysign
      -- Looking for copysign - found
      -- Looking for stddef.h
      -- Looking for stddef.h - found
      -- Check size of uint32_t
      -- Check size of uint32_t - done
      -- Check size of unsigned int
      -- Check size of unsigned int - done
      -- Check size of unsigned long
      -- Check size of unsigned long - done
      -- Looking for sqrt in m
      -- Looking for sqrt in m - found
      -- Looking for fpclassify
      -- Looking for fpclassify - TRUE
      -- Performing Test HAVE_THREAD_LOCAL_STORAGE
      -- Performing Test HAVE_THREAD_LOCAL_STORAGE - Success
      -- Performing Test HAVE_THREAD_LOCAL_STORAGE
      -- Performing Test HAVE_THREAD_LOCAL_STORAGE - Failed
      -- Looking for __cplusplus
      -- Looking for __cplusplus - found
      -- Performing Test SUPPORTS_STDCXX11
      -- Performing Test SUPPORTS_STDCXX11 - Success
      -- Performing Test HAS_FPIC
      -- Performing Test HAS_FPIC - Success
      -- Found PythonLibs: /home/unitree/miniconda3/envs/tv/lib (found suitable exact version "3.10.18")
      -- Found NumPy: /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/numpy/core/include (found version "1.26.4")
      -- Could NOT find Guile (missing: GUILE_EXECUTABLE GUILE_ROOT_DIR GUILE_INCLUDE_DIRS GUILE_LIBRARIES)
      -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
      -- Could NOT find Octave (missing: OCTAVE_EXECUTABLE OCTAVE_ROOT_DIR OCTAVE_INCLUDE_DIRS OCTAVE_LIBRARIES)
      -- Could NOT find Matlab (missing: Matlab_INCLUDE_DIRS Matlab_MEX_LIBRARY Matlab_MEX_EXTENSION Matlab_ROOT_DIR Matlab_MX_LIBRARY MX_LIBRARY MAIN_PROGRAM) (found version "NOTFOUND")
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /tmp/pip-install-s9izdbja/nlopt_463ec684981f45379f3c0b79485525c5/build/temp.linux-aarch64-cpython-310
      Scanning dependencies of target generate-fortran
      Scanning dependencies of target generate-cpp
      [  3%] Generating nlopt.f
      [  3%] Generating nlopt.hpp
      [  3%] Built target generate-fortran
      [  3%] Built target generate-cpp
      Scanning dependencies of target nlopt
      [  7%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/direct/DIRect.c.o
      [  7%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/direct/direct_wrap.c.o
      [  9%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/direct/DIRserial.c.o
      [ 11%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/direct/DIRsubrout.c.o
      [ 13%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/cdirect/cdirect.c.o
      [ 15%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/cdirect/hybrid.c.o
      [ 17%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/praxis/praxis.c.o
      [ 19%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/luksan/plis.c.o
      [ 21%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/luksan/plip.c.o
      [ 23%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/luksan/pnet.c.o
      [ 25%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/luksan/mssubs.c.o
      [ 27%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/luksan/pssubs.c.o
      [ 29%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/crs/crs.c.o
      [ 31%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/mlsl/mlsl.c.o
      [ 33%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/mma/mma.c.o
      [ 35%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/mma/ccsa_quadratic.c.o
      [ 37%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/cobyla/cobyla.c.o
      [ 39%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/newuoa/newuoa.c.o
      [ 41%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/neldermead/nldrmd.c.o
      [ 43%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/neldermead/sbplx.c.o
      [ 45%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/auglag/auglag.c.o
      [ 47%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/bobyqa/bobyqa.c.o
      [ 49%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/isres/isres.c.o
      [ 50%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/slsqp/slsqp.c.o
      [ 52%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/esch/esch.c.o
      [ 54%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/api/general.c.o
      [ 56%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/api/options.c.o
      [ 58%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/api/optimize.c.o
      [ 60%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/api/deprecated.c.o
      [ 62%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/api/f77api.c.o
      [ 64%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/util/mt19937ar.c.o
      [ 66%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/util/sobolseq.c.o
      [ 68%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/util/timer.c.o
      [ 70%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/util/stop.c.o
      [ 72%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/util/redblack.c.o
      [ 74%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/util/qsort_r.c.o
      [ 76%] Building C object extern/nlopt/CMakeFiles/nlopt.dir/src/util/rescale.c.o
      [ 78%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/stogo/global.cc.o
      [ 80%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/stogo/linalg.cc.o
      [ 82%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/stogo/local.cc.o
      [ 84%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/stogo/stogo.cc.o
      [ 86%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/stogo/tools.cc.o
      [ 88%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/ags/evolvent.cc.o
      [ 90%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/ags/solver.cc.o
      [ 92%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/ags/local_optimizer.cc.o
      [ 94%] Building CXX object extern/nlopt/CMakeFiles/nlopt.dir/src/algs/ags/ags.cc.o
      [ 96%] Linking CXX static library libnlopt.a
      [100%] Built target nlopt
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 35, in <module>
        File "/tmp/pip-install-s9izdbja/nlopt_463ec684981f45379f3c0b79485525c5/setup.py", line 85, in <module>
          setup(
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/__init__.py", line 115, in setup
          return distutils.core.setup(**attrs)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 186, in setup
          return run_commands(dist)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
          dist.run_commands()
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
          self.run_command(cmd)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/dist.py", line 1102, in run_command
          super().run_command(command)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
          cmd_obj.run()
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 370, in run
          self.run_command("build")
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
          self.distribution.run_command(command)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/dist.py", line 1102, in run_command
          super().run_command(command)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
          cmd_obj.run()
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
          self.distribution.run_command(command)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/dist.py", line 1102, in run_command
          super().run_command(command)
        File "/home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
          cmd_obj.run()
        File "/tmp/pip-install-s9izdbja/nlopt_463ec684981f45379f3c0b79485525c5/setup.py", line 28, in run
          self.build_extension(ext)
        File "/tmp/pip-install-s9izdbja/nlopt_463ec684981f45379f3c0b79485525c5/setup.py", line 70, in build_extension
          nlopt_py = next(Path(self.build_temp).rglob("nlopt.py"))
      StopIteration
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for nlopt
  Running setup.py clean for nlopt
Successfully built dex_retargeting
Failed to build nlopt
ERROR: Failed to build installable wheels for some pyproject.toml based projects (nlopt)


(tv) unitree@ubuntu:~/xr_teleoperate/teleop/robot_control/dex-retargeting$ sudo apt install swig
[sudo] password for unitree: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dpkg-repack gir1.2-goa-1.0
  gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libdebian-installer4 libfwupdplugin1 libtimezonemap-data
  libtimezonemap1 libxmlb1 os-prober python3-icu python3-pam rdate
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  swig4.0
Suggested packages:
  swig-doc swig-examples swig4.0-examples swig4.0-doc
The following NEW packages will be installed:
  swig swig4.0
0 upgraded, 2 newly installed, 0 to remove and 577 not upgraded.
Need to get 1,000 kB of archives.
After this operation, 5,318 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 swig4.0 arm64 4.0.1-5build1 [994 kB]
Get:2 https://mirrors.ustc.edu.cn/ubuntu-ports focal/universe arm64 swig all 4.0.1-5build1 [5,528 B]
Fetched 1,000 kB in 2s (532 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package swig4.0.
(Reading database ... 281335 files and directories currently installed.)
Preparing to unpack .../swig4.0_4.0.1-5build1_arm64.deb ...
Unpacking swig4.0 (4.0.1-5build1) ...
Selecting previously unselected package swig.
Preparing to unpack .../swig_4.0.1-5build1_all.deb ...
Unpacking swig (4.0.1-5build1) ...
Setting up swig4.0 (4.0.1-5build1) ...
Setting up swig (4.0.1-5build1) ...
Processing triggers for man-db (2.9.1-1) ...

(tv) unitree@ubuntu:~/xr_teleoperate/teleop/robot_control/dex-retargeting$ cd ~
(tv) unitree@ubuntu:~$ git clone https://github.com/stevengj/nlopt
Cloning into 'nlopt'...
remote: Enumerating objects: 5851, done.
remote: Counting objects: 100% (2188/2188), done.
remote: Compressing objects: 100% (525/525), done.
remote: Total 5851 (delta 1887), reused 1663 (delta 1663), pack-reused 3663 (from 2)
Receiving objects: 100% (5851/5851), 4.68 MiB | 4.40 MiB/s, done.
Resolving deltas: 100% (3843/3843), done.
(tv) unitree@ubuntu:~$ cd nlopt/
(tv) unitree@ubuntu:~/nlopt$ mkdir build && cd build
(tv) unitree@ubuntu:~/nlopt/build$ cmake -DPYTHON_EXECUTABLE=/home/unitree/miniconda3/envs/tv/bin/python ..
CMake Error at CMakeLists.txt:15 (cmake_minimum_required):
  CMake 3.18 or higher is required.  You are running version 3.16.3


-- Configuring incomplete, errors occurred!


(tv) unitree@ubuntu:~/nlopt/build$ cd ~
(tv) unitree@ubuntu:~$ wget https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4.tar.gz
--2025-07-08 17:51:39--  https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4.tar.gz
Connecting to 192.168.123.15:7890... connected.
Proxy request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/537699/240ecbd0-e849-431f-a80c-8fad1113eb9e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250708%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250708T095139Z&X-Amz-Expires=1800&X-Amz-Signature=269f1afcd1259a808d8f0743b7b3acb85aafa9d8eb5df90d555f9b7dce1fd190&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dcmake-3.26.4.tar.gz&response-content-type=application%2Foctet-stream [following]
--2025-07-08 17:51:39--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/537699/240ecbd0-e849-431f-a80c-8fad1113eb9e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250708%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250708T095139Z&X-Amz-Expires=1800&X-Amz-Signature=269f1afcd1259a808d8f0743b7b3acb85aafa9d8eb5df90d555f9b7dce1fd190&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dcmake-3.26.4.tar.gz&response-content-type=application%2Foctet-stream
Connecting to 192.168.123.15:7890... connected.
Proxy request sent, awaiting response... 200 OK
Length: 10669686 (10M) [application/octet-stream]
Saving to: ‘cmake-3.26.4.tar.gz’

cmake-3.26.4.tar.gz           100%[===============================================>]  10.17M  13.0MB/s    in 0.8s    

2025-07-08 17:51:42 (13.0 MB/s) - ‘cmake-3.26.4.tar.gz’ saved [10669686/10669686]

(tv) unitree@ubuntu:~$ tar -xzvf cmake-3.26.4.tar.gz
cmake-3.26.4/
cmake-3.26.4/.clang-format
cmake-3.26.4/.clang-tidy
cmake-3.26.4/Auxiliary/
cmake-3.26.4/Auxiliary/CMakeLists.txt
cmake-3.26.4/Auxiliary/bash-completion/
cmake-3.26.4/Auxiliary/bash-completion/CMakeLists.txt
······
cmake-3.26.4/Utilities/std/cm/string_view
cmake-3.26.4/Utilities/std/cm/type_traits
cmake-3.26.4/Utilities/std/cm/unordered_map
cmake-3.26.4/Utilities/std/cm/unordered_set
cmake-3.26.4/Utilities/std/cm/utility
cmake-3.26.4/Utilities/std/cm/vector
cmake-3.26.4/Utilities/std/cmSTL.hxx.in
cmake-3.26.4/Utilities/std/cmext/
cmake-3.26.4/Utilities/std/cmext/algorithm
cmake-3.26.4/Utilities/std/cmext/enum_set
cmake-3.26.4/Utilities/std/cmext/iterator
cmake-3.26.4/Utilities/std/cmext/memory
cmake-3.26.4/Utilities/std/cmext/string_view
cmake-3.26.4/Utilities/std/cmext/type_traits
cmake-3.26.4/bootstrap
cmake-3.26.4/cmake_uninstall.cmake.in
cmake-3.26.4/configure
cmake-3.26.4/doxygen.config
(tv) unitree@ubuntu:~$ cd cmake-3.26.4/
(tv) unitree@ubuntu:~/cmake-3.26.4$ ./bootstrap
---------------------------------------------
CMake 3.26.4, Copyright 2000-2023 Kitware, Inc. and Contributors
Found GNU toolchain
C compiler on this system is: gcc   
C++ compiler on this system is: g++    
Makefile processor on this system is: make
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has stl wstring
g++ has <ext/stdio_filebuf.h>
---------------------------------------------
g++     -D_FILE_OFFSET_BITS=64    -DCMAKE_BOOTSTRAP    -DCMake_HAVE_CXX_MAKE_UNIQUE=1   -I/home/unitree/cmake-3.26.4/Bootstrap.cmk   -I/home/unitree/cmake-3.26.4/Source   -I/home/unitree/cmake-3.26.4/Source/LexerParser   -I/home/unitree/cmake-3.26.4/Utilities/std   -I/home/unitree/cmake-3.26.4/Utilities  -c /home/unitree/cmake-3.26.4/Source/cmAddCompileDefinitionsCommand.cxx -o cmAddCompileDefinitionsCommand.o
······
-- Looking for wsyncup in /usr/lib/aarch64-linux-gnu/libcurses.so - found
-- Looking for cbreak in /usr/lib/aarch64-linux-gnu/libncurses.so
-- Looking for cbreak in /usr/lib/aarch64-linux-gnu/libncurses.so - found
-- Looking for nodelay in /usr/lib/aarch64-linux-gnu/libncurses.so
-- Looking for nodelay in /usr/lib/aarch64-linux-gnu/libncurses.so - found
-- Found Curses: /usr/lib/aarch64-linux-gnu/libncurses.so  
-- Looking for use_default_colors
-- Looking for use_default_colors - found
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - /usr/bin/f95
-- Performing Test run_pic_test
-- Performing Test run_pic_test - Success
-- Performing Test run_inlines_hidden_test
-- Performing Test run_inlines_hidden_test - Success
-- Configuring done (50.6s)
-- Generating done (0.8s)
-- Build files have been written to: /home/unitree/cmake-3.26.4
---------------------------------------------
CMake has bootstrapped.  Now run make.
(tv) unitree@ubuntu:~/cmake-3.26.4$ make -j$(nproc)
[  0%] Building CXX object Utilities/std/CMakeFiles/cmstd.dir/cm/bits/fs_path.cxx.o
[  0%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/ProcessUNIX.c.o
[  0%] Building C object Utilities/KWIML/test/CMakeFiles/kwiml_test.dir/test.c.o
[  0%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.c.o
[  0%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/algorithms.c.o
[  0%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/adler32.c.o
[  0%] Building C object Utilities/cmexpat/CMakeFiles/cmexpat.dir/lib/xmlparse.c.o
[  0%] Building C object Utilities/cmnghttp2/CMakeFiles/cmnghttp2.dir/lib/nghttp2_buf.c.o
[  0%] Building C object Utilities/KWIML/test/CMakeFiles/kwiml_test.dir/test_abi_C.c.o
[  0%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/byte_order.c.o
[  0%] Building C object Utilities/KWIML/test/CMakeFiles/kwiml_test.dir/test_int_C.c.o
[  0%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/compress.c.o
[  0%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/hex.c.o
[  0%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/crc32.c.o
[  0%] Building C object Utilities/cmnghttp2/CMakeFiles/cmnghttp2.dir/lib/nghttp2_callbacks.c.o
[  0%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/md5.c.o
[  0%] Building C object Utilities/cmnghttp2/CMakeFiles/cmnghttp2.dir/lib/nghttp2_debug.c.o
[  0%] Building C object Utilities/KWIML/test/CMakeFiles/kwiml_test.dir/test_include_C.c.o
[  0%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/deflate.c.o
[  0%] Building CXX object Utilities/KWIML/test/CMakeFiles/kwiml_test.dir/test_abi_CXX.cxx.o
[  0%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/rhash.c.o
[  0%] Building C object Utilities/cmnghttp2/CMakeFiles/cmnghttp2.dir/lib/nghttp2_extpri.c.o
[  0%] Building CXX object Utilities/KWIML/test/CMakeFiles/kwiml_test.dir/test_int_CXX.cxx.o
[  1%] Building C object Utilities/cmnghttp2/CMakeFiles/cmnghttp2.dir/lib/nghttp2_frame.c.o
[  1%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/sha1.c.o
[  2%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/sha256.c.o
[  2%] Building CXX object Utilities/KWIML/test/CMakeFiles/kwiml_test.dir/test_include_CXX.cxx.o
[  2%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Base64.c.o
[  2%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/Base64.c.o
[  2%] Building CXX object Utilities/std/CMakeFiles/cmstd.dir/cm/bits/string_view.cxx.o
[  2%] Building C object Utilities/cmnghttp2/CMakeFiles/cmnghttp2.dir/lib/nghttp2_hd.c.o
[  2%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/sha3.c.o
[  2%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/EncodingC.c.o
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/EncodingC.c.o
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/MD5.c.o
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/MD5.c.o
[  3%] Building C object Utilities/cmlibrhash/CMakeFiles/cmlibrhash.dir/librhash/sha512.c.o
[  3%] Linking CXX executable kwiml_test
[  3%] Built target kwiml_test
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/Terminal.c.o
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Terminal.c.o
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/System.c.o
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys_c.dir/String.c.o
[  3%] Linking C static library libcmlibrhash.a
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/System.c.o
[  3%] Built target cmlibrhash
[  3%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/String.c.o
[  3%] Building C object Utilities/cmzlib/CMakeFiles/cmzlib.dir/gzclose.c.o
[  3%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o
[  4%] Linking CXX static library libcmstd.a
[  4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.cxx.o
[  4%] Linking C static library libcmsys_c.a
······
[100%] Built target ctresalloc
[100%] Building CXX object Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/testFindPackageCommand.cxx.o
[100%] Building CXX object Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/testUVProcessChain.cxx.o
[100%] Building CXX object Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/testUVRAII.cxx.o
[100%] Building CXX object Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/testUVStreambuf.cxx.o
[100%] Building CXX object Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/testCMExtMemory.cxx.o
[100%] Building CXX object Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/testCMExtAlgorithm.cxx.o
[100%] Building CXX object Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/testCMExtEnumSet.cxx.o
[100%] Linking CXX executable CMakeLibTests
[100%] Built target CMakeLibTests
(tv) unitree@ubuntu:~/cmake-3.26.4$ sudo make install
[sudo] password for unitree: 
[  1%] Built target cmsys
[  2%] Built target cmsys_c
[  2%] Built target cmsysTestsC
[  2%] Built target testConsoleBufChild
[  2%] Built target cmsysTestDynload
[  3%] Built target cmsysTestsCxx
[  4%] Built target cmsysTestProcess
[  4%] Built target cmsysTestSharedForward
[  5%] Built target cmstd
[  5%] Built target kwiml_test
[  6%] Built target cmlibrhash
[  7%] Built target cmzlib
[  9%] Built target cmnghttp2
[ 23%] Built target cmcurl
[ 23%] Built target curltest
[ 24%] Built target cmexpat
[ 25%] Built target cmbzip2
[ 28%] Built target cmzstd
[ 35%] Built target cmliblzma
[ 46%] Built target cmlibarchive
[ 46%] Built target cmjsoncpp
[ 49%] Built target cmlibuv
[ 53%] Built target cmForm
[ 83%] Built target CMakeLib
[ 88%] Built target CTestLib
[ 90%] Built target CPackLib
[ 90%] Built target cmake
[ 90%] Built target ctest
[ 91%] Built target cpack
[ 92%] Built target ccmake
[ 93%] Built target testUVProcessChainHelper
[ 95%] Built target CMakeLibTests
[ 95%] Built target testEncoding
[ 95%] Built target runcompilecommands
[ 95%] Built target testAffinity
[ 95%] Built target pseudo_valgrind
[ 96%] Built target pseudo_purify
[ 96%] Built target pseudo_BC
[ 97%] Built target pseudo_cuda-memcheck
[ 98%] Built target memcheck_fail
[ 99%] Built target pseudonl_valgrind
[ 99%] Built target pseudonl_purify
[ 99%] Built target pseudonl_BC
[ 99%] Built target exit_code
[ 99%] Built target color_warning
[100%] Built target fake_build_command
[100%] Built target ctresalloc
[100%] Built target pseudo_llvm-rc
[100%] Built target print_stdin
[100%] Built target pseudo_emulator
[100%] Built target pseudo_emulator_custom_command
[100%] Built target pseudo_emulator_custom_command_arg
[100%] Built target pseudo_tidy
[100%] Built target pseudo_iwyu
[100%] Built target pseudo_cpplint
[100%] Built target pseudo_cppcheck
[100%] Built target foo
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/doc/cmake-3.26/cmsys/Copyright.txt
-- Installing: /usr/local/doc/cmake-3.26/cmlibrhash/COPYING
-- Installing: /usr/local/doc/cmake-3.26/cmzlib/Copyright.txt
-- Installing: /usr/local/doc/cmake-3.26/cmcurl/COPYING
-- Installing: /usr/local/doc/cmake-3.26/cmnghttp2/COPYING
-- Installing: /usr/local/doc/cmake-3.26/cmzstd/LICENSE
-- Installing: /usr/local/doc/cmake-3.26/cmliblzma/COPYING
-- Installing: /usr/local/doc/cmake-3.26/cmlibarchive/COPYING
-- Installing: /usr/local/doc/cmake-3.26/cmlibuv/LICENSE
-- Installing: /usr/local/bin/ccmake
-- Installing: /usr/local/bin/cmake
-- Installing: /usr/local/bin/ctest
-- Installing: /usr/local/bin/cpack
-- Installing: /usr/local/share/cmake-3.26/include/cmCPluginAPI.h
-- Installing: /usr/local/doc/cmake-3.26/Copyright.txt
······
-- Installing: /usr/local/share/cmake-3.26/Templates/TestDriver.cxx.in
-- Installing: /usr/local/share/cmake-3.26/Templates/CMakeVSMacros2.vsmacros
-- Installing: /usr/local/share/vim/vimfiles/indent
-- Installing: /usr/local/share/vim/vimfiles/indent/cmake.vim
-- Installing: /usr/local/share/vim/vimfiles/syntax
-- Installing: /usr/local/share/vim/vimfiles/syntax/cmake.vim
-- Installing: /usr/local/share/emacs/site-lisp/cmake-mode.el
-- Installing: /usr/local/share/aclocal/cmake.m4
-- Installing: /usr/local/share/bash-completion/completions/cmake
-- Installing: /usr/local/share/bash-completion/completions/cpack
-- Installing: /usr/local/share/bash-completion/completions/ctest
(tv) unitree@ubuntu:~/cmake-3.26.4$ source ~/.bashrc
ros:foxy(1) noetic(2) ?

(base) unitree@ubuntu:~/cmake-3.26.4$ cmake --version
cmake version 3.26.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).


(base) unitree@ubuntu:~/cmake-3.26.4$ cd ../nlopt/build/
(base) unitree@ubuntu:~/nlopt/build$ cmake -DPYTHON_EXECUTABLE=/home/unitree/miniconda3/envs/tv/bin/python ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- NLopt version 2.10.0
-- Looking for getopt.h
-- Looking for getopt.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for syscall
-- Looking for syscall - found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for qsort_r
-- Looking for qsort_r - found
-- Looking for time
-- Looking for time - found
-- Looking for copysign
-- Looking for copysign - found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Looking for fpclassify
-- Looking for fpclassify - TRUE
-- Performing Test HAVE_THREAD_LOCAL_STORAGE
-- Performing Test HAVE_THREAD_LOCAL_STORAGE - Success
-- Performing Test HAVE_THREAD_LOCAL_STORAGE
-- Performing Test HAVE_THREAD_LOCAL_STORAGE - Failed
-- Could NOT find Python (missing: Python_NumPy_INCLUDE_DIRS NumPy) (found suitable version "3.13.5", minimum required is "3.6")
-- Could NOT find Guile (missing: GUILE_EXECUTABLE GUILE_ROOT_DIR GUILE_INCLUDE_DIRS GUILE_LIBRARIES) 
-- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JVM) 
-- Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (Required is at least version "1.5")
-- Found SWIG: /usr/bin/swig4.0 (found suitable version "4.0.1", minimum required is "3")  
-- Could NOT find Octave (missing: OCTAVE_EXECUTABLE OCTAVE_ROOT_DIR OCTAVE_INCLUDE_DIRS OCTAVE_LIBRARIES) 
-- Configuring done (3.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/unitree/nlopt/build

(base) unitree@ubuntu:~/nlopt/build$ make -j$(nproc)
[  2%] Generating nlopt.hpp
[  2%] Built target generate-cpp
[  8%] Building C object CMakeFiles/nlopt.dir/src/algs/direct/DIRsubrout.c.o
[  8%] Building C object CMakeFiles/nlopt.dir/src/algs/direct/direct_wrap.c.o
[  8%] Building C object CMakeFiles/nlopt.dir/src/algs/direct/DIRect.c.o
[ 14%] Building C object CMakeFiles/nlopt.dir/src/algs/direct/DIRserial.c.o
[ 14%] Building C object CMakeFiles/nlopt.dir/src/algs/cdirect/cdirect.c.o
[ 14%] Building C object CMakeFiles/nlopt.dir/src/algs/cdirect/hybrid.c.o
[ 16%] Building C object CMakeFiles/nlopt.dir/src/algs/praxis/praxis.c.o
[ 18%] Building C object CMakeFiles/nlopt.dir/src/algs/crs/crs.c.o
[ 20%] Building C object CMakeFiles/nlopt.dir/src/algs/mlsl/mlsl.c.o
[ 22%] Building C object CMakeFiles/nlopt.dir/src/algs/mma/mma.c.o
[ 24%] Building C object CMakeFiles/nlopt.dir/src/algs/mma/ccsa_quadratic.c.o
[ 26%] Building C object CMakeFiles/nlopt.dir/src/algs/cobyla/cobyla.c.o
[ 28%] Building C object CMakeFiles/nlopt.dir/src/algs/newuoa/newuoa.c.o
[ 30%] Building C object CMakeFiles/nlopt.dir/src/algs/neldermead/nldrmd.c.o
[ 32%] Building C object CMakeFiles/nlopt.dir/src/algs/neldermead/sbplx.c.o
[ 34%] Building C object CMakeFiles/nlopt.dir/src/algs/auglag/auglag.c.o
[ 36%] Building C object CMakeFiles/nlopt.dir/src/algs/bobyqa/bobyqa.c.o
[ 38%] Building C object CMakeFiles/nlopt.dir/src/algs/isres/isres.c.o
[ 40%] Building C object CMakeFiles/nlopt.dir/src/algs/slsqp/slsqp.c.o
[ 42%] Building C object CMakeFiles/nlopt.dir/src/algs/esch/esch.c.o
[ 44%] Building C object CMakeFiles/nlopt.dir/src/api/general.c.o
[ 46%] Building C object CMakeFiles/nlopt.dir/src/api/options.c.o
[ 48%] Building C object CMakeFiles/nlopt.dir/src/api/optimize.c.o
[ 51%] Building C object CMakeFiles/nlopt.dir/src/api/deprecated.c.o
[ 53%] Building C object CMakeFiles/nlopt.dir/src/api/f77api.c.o
[ 55%] Building C object CMakeFiles/nlopt.dir/src/util/mt19937ar.c.o
[ 57%] Building C object CMakeFiles/nlopt.dir/src/util/sobolseq.c.o
[ 59%] Building C object CMakeFiles/nlopt.dir/src/util/timer.c.o
[ 61%] Building C object CMakeFiles/nlopt.dir/src/util/stop.c.o
[ 63%] Building C object CMakeFiles/nlopt.dir/src/util/redblack.c.o
[ 65%] Building C object CMakeFiles/nlopt.dir/src/util/qsort_r.c.o
[ 67%] Building C object CMakeFiles/nlopt.dir/src/util/rescale.c.o
[ 69%] Building C object CMakeFiles/nlopt.dir/src/algs/luksan/plis.c.o
[ 71%] Building C object CMakeFiles/nlopt.dir/src/algs/luksan/plip.c.o
[ 73%] Building C object CMakeFiles/nlopt.dir/src/algs/luksan/pnet.c.o
[ 75%] Building C object CMakeFiles/nlopt.dir/src/algs/luksan/mssubs.c.o
[ 77%] Building C object CMakeFiles/nlopt.dir/src/algs/luksan/pssubs.c.o
[ 79%] Building CXX object CMakeFiles/nlopt.dir/src/algs/stogo/global.cc.o
[ 81%] Building CXX object CMakeFiles/nlopt.dir/src/algs/stogo/linalg.cc.o
[ 83%] Building CXX object CMakeFiles/nlopt.dir/src/algs/stogo/local.cc.o
[ 85%] Building CXX object CMakeFiles/nlopt.dir/src/algs/stogo/stogo.cc.o
[ 87%] Building CXX object CMakeFiles/nlopt.dir/src/algs/stogo/tools.cc.o
[ 89%] Building CXX object CMakeFiles/nlopt.dir/src/algs/ags/evolvent.cc.o
[ 91%] Building CXX object CMakeFiles/nlopt.dir/src/algs/ags/solver.cc.o
[ 93%] Building CXX object CMakeFiles/nlopt.dir/src/algs/ags/local_optimizer.cc.o
[ 95%] Building CXX object CMakeFiles/nlopt.dir/src/algs/ags/ags.cc.o
[ 97%] Linking CXX shared library libnlopt.so
[100%] Built target nlopt

(base) unitree@ubuntu:~/nlopt/build$ sudo make install
[  2%] Built target generate-cpp
[100%] Built target nlopt
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/pkgconfig/nlopt.pc
-- Installing: /usr/local/include/nlopt.h
-- Installing: /usr/local/include/nlopt.hpp
-- Installing: /usr/local/lib/libnlopt.so.1.0.0
-- Installing: /usr/local/lib/libnlopt.so.1
-- Set runtime path of "/usr/local/lib/libnlopt.so.1.0.0" to "/usr/local/lib"
-- Installing: /usr/local/lib/libnlopt.so
-- Installing: /usr/local/share/man/man3/nlopt.3
-- Installing: /usr/local/share/man/man3/nlopt_minimize.3
-- Installing: /usr/local/share/man/man3/nlopt_minimize_constrained.3
-- Installing: /usr/local/lib/cmake/nlopt/NLoptLibraryDepends.cmake
-- Installing: /usr/local/lib/cmake/nlopt/NLoptLibraryDepends-release.cmake
-- Installing: /usr/local/lib/cmake/nlopt/NLoptConfig.cmake
-- Installing: /usr/local/lib/cmake/nlopt/NLoptConfigVersion.cmake

(base) unitree@ubuntu:~/nlopt/build$ conda activate tv
(tv) unitree@ubuntu:~/nlopt/build$ pip install "nlopt>=2.6.1,<2.8.0"
Collecting nlopt
  Using cached nlopt-2.6.2.tar.gz (2.0 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.14 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from nlopt) (1.26.4)
Building wheels for collected packages: nlopt
  DEPRECATION: Building 'nlopt' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'nlopt'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for nlopt (setup.py) ... done
  Created wheel for nlopt: filename=nlopt-2.6.2-cp310-cp310-linux_aarch64.whl size=361303 sha256=4a06e1d9f001a82be9c3891e8345e77647f8968444963d78b508875a18885e08
  Stored in directory: /home/unitree/.cache/pip/wheels/2d/28/55/4e712fdc7f0460cd336c35be9bdf2772812b9d0d4ea209978f
Successfully built nlopt
Installing collected packages: nlopt
Successfully installed nlopt-2.6.2


(tv) unitree@ubuntu:~/nlopt/build$ cd ~/xr_teleoperate/teleop/robot_control/dex-retargeting/
(tv) unitree@ubuntu:~/xr_teleoperate/teleop/robot_control/dex-retargeting$ pip install -e .
Obtaining file:///home/unitree/xr_teleoperate/teleop/robot_control/dex-retargeting
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: numpy<2.0.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from dex_retargeting==0.4.7) (1.26.4)
Collecting torch==2.3.0 (from dex_retargeting==0.4.7)
  Using cached torch-2.3.0-cp310-cp310-manylinux2014_aarch64.whl.metadata (26 kB)
Collecting pytransform3d>=3.5.0 (from dex_retargeting==0.4.7)
  Using cached pytransform3d-3.14.2-py3-none-any.whl.metadata (10 kB)
Collecting pin>=2.7.0 (from dex_retargeting==0.4.7)
  Using cached pin-3.7.0-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (24 kB)
Requirement already satisfied: nlopt<2.8.0,>=2.6.1 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from dex_retargeting==0.4.7) (2.6.2)
Collecting trimesh>=4.4.0 (from dex_retargeting==0.4.7)
  Using cached trimesh-4.6.13-py3-none-any.whl.metadata (18 kB)
Collecting anytree>=2.12.0 (from dex_retargeting==0.4.7)
  Using cached anytree-2.13.0-py3-none-any.whl.metadata (8.0 kB)
Collecting pyyaml>=6.0.0 (from dex_retargeting==0.4.7)
  Using cached PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (2.1 kB)
Collecting lxml>=5.2.2 (from dex_retargeting==0.4.7)
  Using cached lxml-6.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.metadata (6.6 kB)
Collecting filelock (from torch==2.3.0->dex_retargeting==0.4.7)
  Using cached filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
Requirement already satisfied: typing-extensions>=4.8.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from torch==2.3.0->dex_retargeting==0.4.7) (4.14.1)
Collecting sympy (from torch==2.3.0->dex_retargeting==0.4.7)
  Using cached sympy-1.14.0-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch==2.3.0->dex_retargeting==0.4.7)
  Using cached networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting jinja2 (from torch==2.3.0->dex_retargeting==0.4.7)
  Using cached jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting fsspec (from torch==2.3.0->dex_retargeting==0.4.7)
  Using cached fsspec-2025.5.1-py3-none-any.whl.metadata (11 kB)
Collecting cmeel (from pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel-0.57.3-py3-none-any.whl.metadata (4.7 kB)
Collecting cmeel-boost~=1.87.0 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_boost-1.87.0.1-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (1.0 kB)
Collecting cmeel-urdfdom>=4 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_urdfdom-4.0.1-1-py3-none-manylinux_2_28_aarch64.whl.metadata (2.7 kB)
Collecting coal<4,>=3 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached coal-3.0.1-1-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (14 kB)
INFO: pip is looking at multiple versions of cmeel-boost to determine which version is compatible with other requirements. This could take a while.
Collecting pin>=2.7.0 (from dex_retargeting==0.4.7)
  Using cached pin-3.4.0-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (24 kB)
Collecting coal-library<4,>=3 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached coal_library-3.0.1-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (14 kB)
Collecting pin>=2.7.0 (from dex_retargeting==0.4.7)
  Using cached pin-3.3.1-1-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (24 kB)
Collecting cmeel-urdfdom<4,>=3.1.1.1 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_urdfdom-3.1.1.1-0-py3-none-manylinux_2_28_aarch64.whl.metadata (2.8 kB)
Collecting pin>=2.7.0 (from dex_retargeting==0.4.7)
  Using cached pin-2.7.0-2-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (20 kB)
Collecting cmeel-boost~=1.83.0 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_boost-1.83.0-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (1000 bytes)
Collecting hpp-fcl<4,>=2.3.4 (from pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached hpp_fcl-2.4.4-3-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (5.8 kB)
Collecting cmeel-console-bridge (from cmeel-urdfdom<4,>=3.1.1.1->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_console_bridge-1.0.2.3-0-py3-none-manylinux_2_28_aarch64.whl.metadata (1.0 kB)
Collecting cmeel-tinyxml (from cmeel-urdfdom<4,>=3.1.1.1->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_tinyxml-2.6.2.3-0-py3-none-manylinux_2_28_aarch64.whl.metadata (389 bytes)
Collecting cmeel-assimp<6,>=5.3.1 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_assimp-5.4.3.1-0-py3-none-manylinux_2_28_aarch64.whl.metadata (968 bytes)
Collecting cmeel-octomap<2,>=1.9.8.2 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_octomap-1.10.0-5-py3-none-manylinux_2_28_aarch64.whl.metadata (983 bytes)
Collecting cmeel-qhull<8.0.3,>=8.0.2.1 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_qhull-8.0.2.1-1-py3-none-manylinux_2_28_aarch64.whl.metadata (838 bytes)
Collecting eigenpy<4,>=3.1 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached eigenpy-3.10.3-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (5.3 kB)
Collecting cmeel-zlib (from cmeel-assimp<6,>=5.3.1->hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached cmeel_zlib-1.3.1-0-py3-none-manylinux_2_28_aarch64.whl.metadata (706 bytes)
INFO: pip is looking at multiple versions of eigenpy to determine which version is compatible with other requirements. This could take a while.
Collecting eigenpy<4,>=3.1 (from hpp-fcl<4,>=2.3.4->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached eigenpy-3.10.1-1-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (6.1 kB)
  Using cached eigenpy-3.5.1-0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (5.0 kB)
Requirement already satisfied: scipy in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from pytransform3d>=3.5.0->dex_retargeting==0.4.7) (1.15.2)
Collecting matplotlib (from pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached matplotlib-3.10.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (11 kB)
Collecting tomli>=2.1.0 (from cmeel->pin>=2.7.0->dex_retargeting==0.4.7)
  Using cached tomli-2.2.1-py3-none-any.whl.metadata (10 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch==2.3.0->dex_retargeting==0.4.7)
  Using cached MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (4.0 kB)
Collecting contourpy>=1.0.1 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached contourpy-1.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (5.5 kB)
Collecting cycler>=0.10 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached fonttools-4.58.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata (106 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached kiwisolver-1.4.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (6.2 kB)
Collecting packaging>=20.0 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
Requirement already satisfied: pillow>=8 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7) (11.3.0)
Collecting pyparsing>=2.3.1 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached pyparsing-3.2.3-py3-none-any.whl.metadata (5.0 kB)
Collecting python-dateutil>=2.7 (from matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->pytransform3d>=3.5.0->dex_retargeting==0.4.7)
  Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting mpmath<1.4,>=1.1.0 (from sympy->torch==2.3.0->dex_retargeting==0.4.7)
  Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Using cached torch-2.3.0-cp310-cp310-manylinux2014_aarch64.whl (88.5 MB)
Using cached anytree-2.13.0-py3-none-any.whl (45 kB)
Using cached lxml-6.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (5.1 MB)
Using cached pin-2.7.0-2-cp310-cp310-manylinux_2_28_aarch64.whl (6.0 MB)
Using cached cmeel_boost-1.83.0-0-cp310-cp310-manylinux_2_28_aarch64.whl (34.5 MB)
Using cached cmeel_urdfdom-3.1.1.1-0-py3-none-manylinux_2_28_aarch64.whl (391 kB)
Using cached hpp_fcl-2.4.4-3-cp310-cp310-manylinux_2_28_aarch64.whl (2.3 MB)
Using cached cmeel_assimp-5.4.3.1-0-py3-none-manylinux_2_28_aarch64.whl (13.4 MB)
Using cached cmeel_octomap-1.10.0-5-py3-none-manylinux_2_28_aarch64.whl (1.0 MB)
Using cached cmeel_qhull-8.0.2.1-1-py3-none-manylinux_2_28_aarch64.whl (3.2 MB)
Using cached eigenpy-3.5.1-0-cp310-cp310-manylinux_2_28_aarch64.whl (5.0 MB)
Using cached pytransform3d-3.14.2-py3-none-any.whl (164 kB)
Using cached PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (718 kB)
Using cached trimesh-4.6.13-py3-none-any.whl (712 kB)
Using cached cmeel-0.57.3-py3-none-any.whl (20 kB)
Using cached tomli-2.2.1-py3-none-any.whl (14 kB)
Using cached cmeel_console_bridge-1.0.2.3-0-py3-none-manylinux_2_28_aarch64.whl (25 kB)
Using cached cmeel_tinyxml-2.6.2.3-0-py3-none-manylinux_2_28_aarch64.whl (61 kB)
Using cached cmeel_zlib-1.3.1-0-py3-none-manylinux_2_28_aarch64.whl (286 kB)
Using cached filelock-3.18.0-py3-none-any.whl (16 kB)
Using cached fsspec-2025.5.1-py3-none-any.whl (199 kB)
Using cached jinja2-3.1.6-py3-none-any.whl (134 kB)
Using cached MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21 kB)
Using cached matplotlib-3.10.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.5 MB)
Using cached contourpy-1.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (312 kB)
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Using cached fonttools-4.58.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (4.8 MB)
Using cached kiwisolver-1.4.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB)
Using cached packaging-25.0-py3-none-any.whl (66 kB)
Using cached pyparsing-3.2.3-py3-none-any.whl (111 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB)
Using cached sympy-1.14.0-py3-none-any.whl (6.3 MB)
Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Building wheels for collected packages: dex_retargeting
  Building editable for dex_retargeting (pyproject.toml) ... done
  Created wheel for dex_retargeting: filename=dex_retargeting-0.4.7-0.editable-py3-none-any.whl size=2439 sha256=d03fec313340d4e62bd1a0d40e820c20b036df6ecd2b8c5c07b9a2f5db351ef6
  Stored in directory: /tmp/pip-ephem-wheel-cache-kp7olk_l/wheels/32/e4/2a/a7570ae9b1f2db15046bfd9685b75d3bca999252da3d20a43d
Successfully built dex_retargeting
Installing collected packages: mpmath, trimesh, tomli, sympy, six, pyyaml, pyparsing, packaging, networkx, MarkupSafe, lxml, kiwisolver, fsspec, fonttools, filelock, cycler, contourpy, anytree, python-dateutil, jinja2, cmeel, torch, matplotlib, cmeel-zlib, cmeel-tinyxml, cmeel-qhull, cmeel-octomap, cmeel-console-bridge, cmeel-boost, pytransform3d, eigenpy, cmeel-urdfdom, cmeel-assimp, hpp-fcl, pin, dex_retargeting
Successfully installed MarkupSafe-3.0.2 anytree-2.13.0 cmeel-0.57.3 cmeel-assimp-5.4.3.1 cmeel-boost-1.83.0 cmeel-console-bridge-1.0.2.3 cmeel-octomap-1.10.0 cmeel-qhull-8.0.2.1 cmeel-tinyxml-2.6.2.3 cmeel-urdfdom-3.1.1.1 cmeel-zlib-1.3.1 contourpy-1.3.2 cycler-0.12.1 dex_retargeting-0.4.7 eigenpy-3.5.1 filelock-3.18.0 fonttools-4.58.5 fsspec-2025.5.1 hpp-fcl-2.4.4 jinja2-3.1.6 kiwisolver-1.4.8 lxml-6.0.0 matplotlib-3.10.3 mpmath-1.3.0 networkx-3.4.2 packaging-25.0 pin-2.7.0 pyparsing-3.2.3 python-dateutil-2.9.0.post0 pytransform3d-3.14.2 pyyaml-6.0.2 six-1.17.0 sympy-1.14.0 tomli-2.2.1 torch-2.3.0 trimesh-4.6.13

2.6 Install additional dependencies

(tv) unitree@ubuntu:~/xr_teleoperate/teleop/robot_control/dex-retargeting$ cd ../../../
(tv) unitree@ubuntu:~/xr_teleoperate$ pip install -r requirements.txt 
Collecting matplotlib==3.7.5 (from -r requirements.txt (line 1))
  Downloading matplotlib-3.7.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (5.7 kB)
Collecting rerun-sdk==0.20.1 (from -r requirements.txt (line 2))
  Downloading rerun_sdk-0.20.1-cp38-abi3-manylinux_2_31_aarch64.whl.metadata (4.2 kB)
Collecting meshcat==0.3.2 (from -r requirements.txt (line 3))
  Downloading meshcat-0.3.2-py3-none-any.whl.metadata (595 bytes)
Collecting sshkeyboard==2.3.1 (from -r requirements.txt (line 4))
  Downloading sshkeyboard-2.3.1-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: contourpy>=1.0.1 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (1.3.2)
Requirement already satisfied: cycler>=0.10 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (4.58.5)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (1.4.8)
Requirement already satisfied: numpy<2,>=1.20 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (1.26.4)
Requirement already satisfied: packaging>=20.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (25.0)
Requirement already satisfied: pillow>=6.2.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (11.3.0)
Requirement already satisfied: pyparsing>=2.3.1 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (3.2.3)
Requirement already satisfied: python-dateutil>=2.7 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from matplotlib==3.7.5->-r requirements.txt (line 1)) (2.9.0.post0)
Requirement already satisfied: attrs>=23.1.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from rerun-sdk==0.20.1->-r requirements.txt (line 2)) (25.3.0)
Collecting pyarrow>=14.0.2 (from rerun-sdk==0.20.1->-r requirements.txt (line 2))
  Downloading pyarrow-20.0.0-cp310-cp310-manylinux_2_28_aarch64.whl.metadata (3.3 kB)
Requirement already satisfied: typing-extensions>=4.5 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from rerun-sdk==0.20.1->-r requirements.txt (line 2)) (4.14.1)
Collecting ipython>=5 (from meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading ipython-8.37.0-py3-none-any.whl.metadata (5.1 kB)
Collecting u-msgpack-python>=2.4.1 (from meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading u_msgpack_python-2.8.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting tornado>=4.0.0 (from meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading tornado-6.5.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (2.8 kB)
Collecting pyzmq>=17.0.0 (from meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading pyzmq-27.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.metadata (6.0 kB)
Collecting pyngrok>=4.1.6 (from meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading pyngrok-7.2.11-py3-none-any.whl.metadata (9.4 kB)
Collecting decorator (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading decorator-5.2.1-py3-none-any.whl.metadata (3.9 kB)
Collecting exceptiongroup (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading exceptiongroup-1.3.0-py3-none-any.whl.metadata (6.7 kB)
Collecting jedi>=0.16 (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading jedi-0.19.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting matplotlib-inline (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading matplotlib_inline-0.1.7-py3-none-any.whl.metadata (3.9 kB)
Collecting pexpect>4.3 (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading pexpect-4.9.0-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting prompt_toolkit<3.1.0,>=3.0.41 (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading prompt_toolkit-3.0.51-py3-none-any.whl.metadata (6.4 kB)
Requirement already satisfied: pygments>=2.4.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3)) (2.19.2)
Collecting stack_data (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading stack_data-0.6.3-py3-none-any.whl.metadata (18 kB)
Collecting traitlets>=5.13.0 (from ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading traitlets-5.14.3-py3-none-any.whl.metadata (10 kB)
Collecting wcwidth (from prompt_toolkit<3.1.0,>=3.0.41->ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
Collecting parso<0.9.0,>=0.8.4 (from jedi>=0.16->ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading parso-0.8.4-py2.py3-none-any.whl.metadata (7.7 kB)
Collecting ptyprocess>=0.5 (from pexpect>4.3->ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading ptyprocess-0.7.0-py2.py3-none-any.whl.metadata (1.3 kB)
Requirement already satisfied: PyYAML>=5.1 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from pyngrok>=4.1.6->meshcat==0.3.2->-r requirements.txt (line 3)) (6.0.2)
Requirement already satisfied: six>=1.5 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib==3.7.5->-r requirements.txt (line 1)) (1.17.0)
Collecting executing>=1.2.0 (from stack_data->ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading executing-2.2.0-py2.py3-none-any.whl.metadata (8.9 kB)
Collecting asttokens>=2.1.0 (from stack_data->ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading asttokens-3.0.0-py3-none-any.whl.metadata (4.7 kB)
Collecting pure-eval (from stack_data->ipython>=5->meshcat==0.3.2->-r requirements.txt (line 3))
  Downloading pure_eval-0.2.3-py3-none-any.whl.metadata (6.3 kB)
Downloading matplotlib-3.7.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.4/11.4 MB 21.2 MB/s eta 0:00:00
Downloading rerun_sdk-0.20.1-cp38-abi3-manylinux_2_31_aarch64.whl (44.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.5/44.5 MB 2.3 MB/s eta 0:00:00
Downloading meshcat-0.3.2-py3-none-any.whl (2.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 55.7 MB/s eta 0:00:00
Downloading sshkeyboard-2.3.1-py3-none-any.whl (12 kB)
Downloading ipython-8.37.0-py3-none-any.whl (831 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 831.9/831.9 kB 45.0 MB/s eta 0:00:00
Downloading prompt_toolkit-3.0.51-py3-none-any.whl (387 kB)
Downloading jedi-0.19.2-py2.py3-none-any.whl (1.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 48.2 MB/s eta 0:00:00
Downloading parso-0.8.4-py2.py3-none-any.whl (103 kB)
Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Downloading pyarrow-20.0.0-cp310-cp310-manylinux_2_28_aarch64.whl (40.7 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.7/40.7 MB 38.0 MB/s eta 0:00:00
Downloading pyngrok-7.2.11-py3-none-any.whl (25 kB)
Downloading pyzmq-27.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (666 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 666.2/666.2 kB 29.8 MB/s eta 0:00:00
Downloading tornado-6.5.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (443 kB)
Downloading traitlets-5.14.3-py3-none-any.whl (85 kB)
Downloading u_msgpack_python-2.8.0-py2.py3-none-any.whl (10 kB)
Downloading decorator-5.2.1-py3-none-any.whl (9.2 kB)
Downloading exceptiongroup-1.3.0-py3-none-any.whl (16 kB)
Downloading matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB)
Downloading stack_data-0.6.3-py3-none-any.whl (24 kB)
Downloading asttokens-3.0.0-py3-none-any.whl (26 kB)
Downloading executing-2.2.0-py2.py3-none-any.whl (26 kB)
Downloading pure_eval-0.2.3-py3-none-any.whl (11 kB)
Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Installing collected packages: wcwidth, u-msgpack-python, pure-eval, ptyprocess, traitlets, tornado, sshkeyboard, pyzmq, pyngrok, pyarrow, prompt_toolkit, pexpect, parso, executing, exceptiongroup, decorator, asttokens, stack_data, rerun-sdk, matplotlib-inline, matplotlib, jedi, ipython, meshcat
  Attempting uninstall: matplotlib
    Found existing installation: matplotlib 3.10.3
    Uninstalling matplotlib-3.10.3:
      Successfully uninstalled matplotlib-3.10.3
Successfully installed asttokens-3.0.0 decorator-5.2.1 exceptiongroup-1.3.0 executing-2.2.0 ipython-8.37.0 jedi-0.19.2 matplotlib-3.7.5 matplotlib-inline-0.1.7 meshcat-0.3.2 parso-0.8.4 pexpect-4.9.0 prompt_toolkit-3.0.51 ptyprocess-0.7.0 pure-eval-0.2.3 pyarrow-20.0.0 pyngrok-7.2.11 pyzmq-27.0.0 rerun-sdk-0.20.1 sshkeyboard-2.3.1 stack_data-0.6.3 tornado-6.5.1 traitlets-5.14.3 u-msgpack-python-2.8.0 wcwidth-0.2.13

2.7 Install unitree_sdk2_python

(tv) unitree@ubuntu:~/xr_teleoperate$ cd ~
(tv) unitree@ubuntu:~$ git clone https://github.com/unitreerobotics/unitree_sdk2_python.git
Cloning into 'unitree_sdk2_python'...
remote: Enumerating objects: 551, done.
remote: Counting objects: 100% (316/316), done.
remote: Compressing objects: 100% (127/127), done.
remote: Total 551 (delta 220), reused 189 (delta 189), pack-reused 235 (from 1)
Receiving objects: 100% (551/551), 113.26 KiB | 350.00 KiB/s, done.
Resolving deltas: 100% (269/269), done.
(tv) unitree@ubuntu:~$ cd unitree_sdk2_python
(tv) unitree@ubuntu:~/unitree_sdk2_python$ echo 'export CYCLONEDDS_HOME=/home/unitree/cyclonedds_ws/install/cyclonedds' >> ~/.bashrc
(tv) unitree@ubuntu:~/unitree_sdk2_python$ source ~/.bashrc
ros:foxy(1) noetic(2) ?

(base) unitree@ubuntu:~/unitree_sdk2_python$ conda activate tv
(tv) unitree@ubuntu:~/unitree_sdk2_python$ pip install -e .
Obtaining file:///home/unitree/unitree_sdk2_python
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: cyclonedds==0.10.2 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from unitree_sdk2py==1.0.1) (0.10.2)
Requirement already satisfied: numpy in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from unitree_sdk2py==1.0.1) (1.26.4)
Requirement already satisfied: opencv-python in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from unitree_sdk2py==1.0.1) (4.11.0.86)
Requirement already satisfied: rich-click in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from cyclonedds==0.10.2->unitree_sdk2py==1.0.1) (1.8.9)
Requirement already satisfied: click>=7 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from rich-click->cyclonedds==0.10.2->unitree_sdk2py==1.0.1) (8.2.1)
Requirement already satisfied: rich>=10.7 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from rich-click->cyclonedds==0.10.2->unitree_sdk2py==1.0.1) (14.0.0)
Requirement already satisfied: typing_extensions>=4 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from rich-click->cyclonedds==0.10.2->unitree_sdk2py==1.0.1) (4.14.1)
Requirement already satisfied: markdown-it-py>=2.2.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from rich>=10.7->rich-click->cyclonedds==0.10.2->unitree_sdk2py==1.0.1) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from rich>=10.7->rich-click->cyclonedds==0.10.2->unitree_sdk2py==1.0.1) (2.19.2)
Requirement already satisfied: mdurl~=0.1 in /home/unitree/miniconda3/envs/tv/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich>=10.7->rich-click->cyclonedds==0.10.2->unitree_sdk2py==1.0.1) (0.1.2)
Building wheels for collected packages: unitree_sdk2py
  Building editable for unitree_sdk2py (pyproject.toml) ... done
  Created wheel for unitree_sdk2py: filename=unitree_sdk2py-1.0.1-0.editable-py3-none-any.whl size=5776 sha256=c395bebc79562c897b117d30a6b98bdde28e4010e09bb587c7abb923fff841f6
  Stored in directory: /tmp/pip-ephem-wheel-cache-0bdoce_n/wheels/6f/85/b6/a61c11421cba4a57ab705c7679ace20fa5ed887c6211de505f
Successfully built unitree_sdk2py
Installing collected packages: unitree_sdk2py
Successfully installed unitree_sdk2py-1.0.1

Clone this wiki locally