NVIDIA-AI-IOT / NVIDIA-AI-IOT/deepstream_libraries
Cannot install PyNvVideoCodec on Jetson AGX Orin
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 90
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the PyNvVideoCodec_1.0.2.zip installation on the Jetson AGX Orin with JetPack 6.0GA, Python 3.10, and the listed PyTorch setup. Inspect the complete CMake output before the shown install-target error and determine whether this platform is supported; done means a verified installation procedure or a clear support limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, python, pytorch
- Domain
- build-system, computer-vision, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100