Skip to content

Cannot install PyNvVideoCodec on Jetson AGX Orin #2

@giapvn

Description

@giapvn

Now I want to install PyNvVideoCodec libs on Jetson AGX Orin devkit (Jetpack 6.0GA) using command-lines below:

apt update
apt-get install -y python3-dev  python3-pip python3-numpy
pip install pycuda

# Install Pytorch
apt-get install -y  python3-pip libopenblas-dev
wget https://raw.githubusercontent.com/pytorch/pytorch/5c6af2b583709f6176898c017424dc9981023c28/.ci/docker/common/install_cusparselt.sh
export CUDA_VERSION=12.2
bash ./install_cusparselt.sh
export TORCH_INSTALL=https://developer.download.nvidia.com/compute/redist/jp/v60/pytorch/torch-2.4.0a0+f70bd71a48.nv24.06.15634931-cp310-cp310-linux_aarch64.whl
python3 -m pip install --no-cache $TORCH_INSTALL

# Install PyNvVideoCodec 1.0.2
wget --content-disposition 'https://api.ngc.nvidia.com/v2/resources/org/nvidia/pynvvideocodec/1.0.2/files?redirect=true&path=PyNvVideoCodec_1.0.2.zip' -O PyNvVideoCodec_1.0.2.zip
pip install pyproject-toml
pip install "PyNvVideoCodec_1.0.2.zip"

I received a error message as following:

An error occurred while building with CMake.
        Command:
          /usr/bin/cmake --build . --target install --config Release --
        Install target:
          install
        Source directory:
          /tmp/pip-req-build-ocrsyv0n
        Working directory:
          /tmp/pip-req-build-ocrsyv0n/_skbuild/linux-aarch64-3.10/cmake-build
      Please check the install target is valid and see CMake's output for more information.
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for PyNvVideoCodec
Failed to build PyNvVideoCodec
ERROR: Could not build wheels for PyNvVideoCodec, which is required to install pyproject.toml-based projects

I want to ask you a question is that: Has PyNvVideoCodec ver. 1.0.2 supported to run on Jetson AGX Orin yet? If it had been, how to install it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions