While trying to install Tensorrt using https://docs.nvidia.com/deeplearning/sdk/tensorrt-archived/tensorrt-700/tensorrt-install-guide/index.html#installing-tar
Stuvk at 6th step.
the similar command for .whl file is working for 7th and 8th step.
Can someone point out the issue here.
Screenshot added.
Install the Python TensorRT wheel file.
cd TensorRT-${version}/python
If using Python 2.7:
sudo pip2 install tensorrt--cp27-none-linux_x86_64.whl
If using Python 3.x:
sudo pip3 install tensorrt--cp3x-none-linux_x86_64.whl
Error
sudo pip2 install tensorrt-7.0.0.11-cp27-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.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at Release process - pip documentation v22.3.dev0
WARNING: The directory ‘/home/nvidia/.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 may want sudo’s -H flag.
ERROR: tensorrt-7.0.0.11-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.