Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install PyNvVideoCodec on Jetson AGX Orin #2

Open
giapvn opened this issue Nov 28, 2024 · 0 comments
Open

Cannot install PyNvVideoCodec on Jetson AGX Orin #2

giapvn opened this issue Nov 28, 2024 · 0 comments

Comments

@giapvn
Copy link

giapvn commented Nov 28, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant