Maturin build failed on Jetson Nano

Hello, I am trying to run depthai-viewer on jetson nano for which I needed to install rust to build some dependencies. I followed these commands in order:

  1. Install RUST
  2. python3 -m pip install maturin==0.14.10
  3. [dependencies - needed for build to complete]
    sudo apt-get update && sudo apt-get install libssl-dev pkg-config
    python3 -m pip install patchelf
    
  4. maturin build --compatibility manylinux_2_31 --manifest-path rerun_py/Cargo.toml --release --no-default-features --features pypi --universal2 --out dist
  5. python3 -m pip install dist/<wheel>
  6. You should now be able to run the viewer with depthai-viewer

_Originally posted by @jakaskerl in DepthAI Viewer doesn't work with Jetson nano · Issue #33 · luxonis/depthai-viewer · GitHub

This command:

maturin build --compatibility manylinux_2_31 --manifest-path rerun_py/Cargo.toml --release --no-default-features --features pypi --universal2 --out dist --verbose

is giving this error:

:boom: maturin failed
Caused by: No such file or directory (os error 2)

I am new to rust so have no idea how to solve it

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.