ERROR: pyds-1.1.0-py3-none-linux_x86_64.whl is not a supported wheel on this platform

Hi Hope you all doing well.

i am using
Jetson AGX Xavier
OS Ubuntu 18.04
Deepstream 6.0

I am facing a problem with the installation of pyds-1.1.0-py3-none-linux_x86_64.whl
i am using the following steps for python bindings.

sudo echo "Hi, let's start the bindings part!"

cd /opt/nvidia/deepstream/deepstream/sources/
sudo rm -rf deepstream_python_apps/
# Sync deepstream_python_apps repo from github
sudo git clone https://github.com/NVIDIA-AI-IOT/deepstream_python_apps.git
cd deepstream_python_apps/
sudo git submodule update --init

sudo git checkout v1.1.0       # DS 6.0

cd bindings/
#Download base dependencies
sudo apt install -y git python-dev python3 python3-pip python3.6-dev python3.8-dev cmake g++ build-essential \
    libglib2.0-dev libglib2.0-dev-bin python-gi-dev libtool m4 autoconf automake libgirepository1.0-dev libcairo2-dev

# Initialize submodules    
sudo git submodule update --init
# Installing Gst-python
sudo apt-get install -y apt-transport-https ca-certificates -y
sudo update-ca-certificates -y
cd ../3rdparty/gst-python/
sudo ./autogen.sh
sudo make
sudo make install
# Now building the bindings
cd ../../bindings/
#To compile bindings on Ubuntu - 18.04 :

sudo mkdir build
cd build
sudo cmake .. -DPYTHON_MAJOR_VERSION=3 -DPYTHON_MINOR_VERSION=6
sudo make
# Installing the pip wheel
sudo apt install libgirepository1.0-dev libcairo2-dev -y
sudo pip3 install ./pyds-1.1.0-py3-none-linux_x86_64.whl 

I updated pip and then again try for installation but still a problem

ubuntu@ubuntu:/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build$ ls
build  CMakeCache.txt  CMakeFiles  cmake_install.cmake  Makefile  pyds-1.1.0-py3-none-linux_x86_64.whl  pyds.egg-info  pyds.so
mindnotice@ubuntu:/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build$ pip3 install ./pyds-1.1.0-py3-none-linux_x86_64.whl 
pyds-1.1.0-py3-none-linux_x86_64.whl is not a supported wheel on this platform.
ubuntu@ubuntu:/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build$ python3 -m pip install --upgrade pip
Collecting pip
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
    100% |████████████████████████████████| 1.7MB 452kB/s 
Installing collected packages: pip
Successfully installed pip-21.3.1
ubuntu@ubuntu:/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build$ pip3 install ./pyds-1.1.0-py3-none-linux_x86_64.whl 
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
ERROR: pyds-1.1.0-py3-none-linux_x86_64.whl is not a supported wheel on this platform.
ubuntu@ubuntu:/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build$ sudo pip3 install ./pyds-1.1.0-py3-none-linux_x86_64.whl 
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
WARNING: The directory '/home/mindnotice/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
ERROR: pyds-1.1.0-py3-none-linux_x86_64.whl is not a supported wheel on this platform.

How find existing pyd wheel if install on jetson because some one did before but they deleted deepstream sdk folder so i re installed and now want to figure out if any pyds exist then how i will find.

x86_64 is for dGPU, please add -DPIP_PLATFORM=linux_aarch64 when executing cmake.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.