We got the Error python not found, then we installed Python using below command
$sudo apt update
$sudo apt install python-is-python3
Again after running the $make command got another error as:
/usr/bin/ld:librdkafka.lds:0: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make[1]: *** […/mklove/Makefile.base:89: librdkafka.so.1] Error 1
make[1]: Leaving directory ‘/home/mastekinnovation/librdkafka/src’
make: *** [Makefile:20: libs] Error 2
We have Docker image already, you can use this image directly or create new image based on this one, thus avoid installing the packages from scratch.
Python binding can be installed by script in “nvcr.io/nvidia/deepstream:6.2-devel”, docker information can be found here: DeepStream | NVIDIA NGC
Thanks yingliu, I was able to run DeepStream Container on GCP
I have used the below commands
DeepStream SDK Container Install on GCP
Install Docker Engine on Ubuntu
Update the apt package index and install packages to allow apt to use a repository over HTTPS:
$ sudo apt-get update
$ sudo apt-get install ca-certificates curl gnupg
3.Use the following command to set up the repository:
$ echo
“deb [arch=”$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/ubuntu/
“$(. /etc/os-release && echo “$VERSION_CODENAME”)” stable" |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Install Docker Engine
Update the apt package index:
$ sudo apt-get update
Verify that the Docker Engine installation is successful by running the hello-world image.
$ sudo docker run hello-world
Linux post-installation steps for Docker Engine
To create the docker group and add your user:
Create the docker group.
$ sudo groupadd docker
Add your user to the docker group.
$ sudo usermod -aG docker $USER
3.If you’re running Linux in a virtual machine, it may be necessary to restart the virtual machine for changes to take effect
4.Verify that you can run docker commands without sudo.
$ docker run hello-world
The list of prerequisites for running NVIDIA Container Toolkit is described below:
a. GNU/Linux x86_64 with kernel version > 3.10
Command: uname -r
5.15.0-1030-gcp
b. Docker >= 19.03 (recommended, but some distributions may include older versions of Docker. The minimum supported version is 1.12)
Command: sudo docker --version
Docker version 23.0.6, build ef23cbc
c. NVIDIA GPU with Architecture >= Kepler (or compute capability 3.0)
d. NVIDIA Linux drivers >= 418.81.07 (Note that older driver releases or branches are unsupported.)
Command: nvidia-smi
Driver Version: 525.85.12, GPU: Nvidia Tesla T4
This should include the NVIDIA Container Toolkit CLI (nvidia-ctk) and the version can be confirmed by running:
Command: $nvidia-ctk –version
NVIDIA Container Toolkit CLI version 1.13.1
commit: 28b70663f1a2b982e59e83bcf1844177dc745208
In order to generate a Container Device Interface (CDI) specification that refers to all devices, the following command is used:
sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
To check the names of the generated devices the following command can be run:
sudo grep " name:" /etc/cdi/nvidia.yaml
Output :name: “0”
name: all