I follow the TAO deploy tutorial into a container with command
sudo docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/l4t-tensorrt:r8.6.2-devel
then I try to
apt install libopenmpi-dev
pip install nvidia_tao_deploy==5.0.0.423.dev0
pip install https://files.pythonhosted.org/packages/f7/7a/ac2e37588fe552b49d8807215b7de224eef60a495391fdacc5fa13732d11/nvidia_eff_tao_encryption-0.1.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
pip install https://files.pythonhosted.org/packages/0d/05/6caf40aefc7ac44708b2dcd5403870181acc1ecdd93fa822370d10cc49f3/nvidia_eff-0.6.2-py38-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
then I have
root@ubuntu:~/cqy# pip install ./nvidia_tao_deploy-5.0.0.423.dev0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Processing ./nvidia_tao_deploy-5.0.0.423.dev0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Collecting opencv-python
Using cached opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (41.7 MB)
Collecting h5py==3.7.0
Using cached h5py-3.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.3 MB)
Collecting onnx
Using cached onnx-1.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (15.9 MB)
Requirement already satisfied: six>=1.12.0 in /usr/lib/python3/dist-packages (from nvidia-tao-deploy==5.0.0.423.dev0) (1.16.0)
Collecting natsort
Using cached natsort-8.4.0-py3-none-any.whl (38 kB)
Collecting requests>=2.31.0
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 KB 57.2 kB/s eta 0:00:00
Collecting seaborn==0.7.1
Using cached seaborn-0.7.1.tar.gz (158 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [42 lines of output]
running egg_info
creating /tmp/pip-pip-egg-info-v051cj7r/seaborn.egg-info
writing /tmp/pip-pip-egg-info-v051cj7r/seaborn.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-v051cj7r/seaborn.egg-info/dependency_links.txt
writing requirements to /tmp/pip-pip-egg-info-v051cj7r/seaborn.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-v051cj7r/seaborn.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-v051cj7r/seaborn.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-v051cj7r/seaborn.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-ptgqp4hd/seaborn_bbd91fd0a2ac428fa055ae69bfe32017/setup.py", line 68, in <module>
setup(name=DISTNAME,
File "/usr/local/lib/python3.10/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 995, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 313, in run
self.find_sources()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 321, in find_sources
mm.run()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 549, in run
self.prune_file_list()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/sdist.py", line 162, in prune_file_list
super().prune_file_list()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/command/sdist.py", line 380, in prune_file_list
base_dir = self.distribution.get_fullname()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_core_metadata.py", line 267, in get_fullname
return _distribution_fullname(self.get_name(), self.get_version())
File "/usr/local/lib/python3.10/dist-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
root@ubuntu:~/cqy# pip3 install cython
Requirement already satisfied: cython in /usr/local/lib/python3.10/dist-packages (3.0.11)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@ubuntu:~/cqy# pip install nvidia_tao_deploy==5.0.0.423.dev0
ERROR: Could not find a version that satisfies the requirement nvidia_tao_deploy==5.0.0.423.dev0 (from versions: 4.0.0.1)
ERROR: No matching distribution found for nvidia_tao_deploy==5.0.0.423.dev0
Can you help me look at it?