TexasInstruments / edgeai-tidl-tools

Edgeai TIDL Tools and Examples - This repository contains Tools and example developed for Deep learning runtime (DLRT) offering provided by TI’s edge AI solutions.
Other
129 stars 33 forks source link

python-setuptools required dep missing from docs #85

Open rudi-helm opened 1 month ago

rudi-helm commented 1 month ago

The setup script crashes without the python-setuptools which are not installed by default.

WARNING: Error parsing dependencies of python-debian: Invalid version: '0.1.36ubuntu1'
pip3 install --no-input git+https://github.com/NVIDIA/TensorRT@release/8.5#subdirectory=tools/onnx-graphsurgeon
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/NVIDIA/TensorRT@release/8.5#subdirectory=tools/onnx-graphsurgeon
  Cloning https://github.com/NVIDIA/TensorRT (to revision release/8.5) to /tmp/pip-req-build-uf8qpf84
  Running command git clone --filter=blob:none --quiet https://github.com/NVIDIA/TensorRT /tmp/pip-req-build-uf8qpf84
  Running command git checkout -b release/8.5 --track origin/release/8.5
  Switched to a new branch 'release/8.5'
  Branch 'release/8.5' set up to track remote branch 'release/8.5' from 'origin'.
  Resolved https://github.com/NVIDIA/TensorRT to commit 68b5072fdb9df6b6edab1392b02a705394b2e906
  Running command git submodule update --init --recursive -q
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 14, in <module>
        File "/home/ti92tools/.local/lib/python3.8/site-packages/setuptools/__init__.py", line 21, in <module>
          from .dist import Distribution
        File "/home/ti92tools/.local/lib/python3.8/site-packages/setuptools/dist.py", line 29, in <module>
          from . import _entry_points
        File "/home/ti92tools/.local/lib/python3.8/site-packages/setuptools/_entry_points.py", line 44, in <module>
          def validate(eps: metadata.EntryPoints):
      AttributeError: module 'importlib_metadata' has no attribute 'EntryPoints'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed