How to solve error installation of nvidia-tlt python package

Hi,
I followed by TLT documentation link for installation of TLT Launcher, every things is good, but I get this error when I want to install nvidia-tlt package:

Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting nvidia-tlt
  Downloading nvidia-tlt-0.0.1.dev4.tar.gz (4.0 kB)
    ERROR: Command errored out with exit status 1:
     command: /home/mm/.virtualenvs/cv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hjx6d6e6/nvidia-tlt_e2fdd17088df42b9af89a2ac24b675f9/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hjx6d6e6/nvidia-tlt_e2fdd17088df42b9af89a2ac24b675f9/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-q1gdb2st
         cwd: /tmp/pip-install-hjx6d6e6/nvidia-tlt_e2fdd17088df42b9af89a2ac24b675f9/
    Complete output (15 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-hjx6d6e6/nvidia-tlt_e2fdd17088df42b9af89a2ac24b675f9/setup.py", line 150, in <module>
        raise RuntimeError(open("ERROR.txt", "r").read())
    RuntimeError:
    ###########################################################################################
    The package you are trying to install is only a placeholder project on PyPI.org repository.
    This package is hosted on NVIDIA Python Package Index.
    
    This package can be installed as:
    ```
    $ pip install nvidia-pyindex
    $ pip install nvidia-tlt
    ```
    ###########################################################################################
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c2/f8/dd59d97e0ccf45333631d267f5490412ca0478c04663f47fa0fb6b085c05/nvidia-tlt-0.0.1.dev4.tar.gz#sha256=ed1e7fd797ba4421a1786ddcbc5f40606e93c1d07a24340ae40b5c71d14028fe (from https://pypi.org/simple/nvidia-tlt/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement nvidia-tlt
ERROR: No matching distribution found for nvidia-tlt
1 Like

Did you ever install nvidia-tlt before? The nvidia-tlt-0.0.1.dev4.tar.gz is not expected.

What is your output of “cat ~/.config/pip/pip.conf”?

Did you ever install nvidia-tlt before?
No

This file has been autogenerated or modified by NVIDIA PyIndex.

In case you need to modify your PIP configuration, please be aware that

some configuration files may have a priority order. Here are the following

files that may exists in your machine by order of priority:

[Priority 1] Site level configuration files

1. /home/mm/.virtualenvs/cv/pip.conf

[Priority 2] User level configuration files

1. /home/mm/.config/pip/pip.conf

2. /home/mm/.pip/pip.conf

[Priority 3] Global level configuration files

1. /etc/pip.conf

2. /etc/xdg/pip/pip.conf

3. /etc/xdg/xdg-ubuntu/pip/pip.conf

[global]
no-cache-dir = true
index-url = Simple index
extra-index-url =
https://pypi.ngc.nvidia.com
trusted-host =
pypi.ngc.nvidia.com
(cv) mm@mm-pc:~/tlt3.0/tlt_cv_sample

What is your pip version?
$ pip --version

Please try one of below ways.

  1. Modify your ~/.config/pip/pip.conf to below.

[global]
extra-index-url = https://sc-hw-artf.nvidia.com/api/pypi/sw-av-tools-pypi/simple
https://pypi.ngc.nvidia.com
no-cache-dir = true
trusted-host =
pypi.ngc.nvidia.com

or

  1. $ pip install --extra-index-url=http://sqrl.nvidia.com/dldata/pip-scratch/ --trusted-host sqrl.nvidia.com nvidia-tlt

pip 21.0.1