Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install triton-model-navigator #1029

Open
TudorAndrei opened this issue Apr 19, 2024 · 0 comments
Open

Unable to install triton-model-navigator #1029

TudorAndrei opened this issue Apr 19, 2024 · 0 comments

Comments

@TudorAndrei
Copy link

TudorAndrei commented Apr 19, 2024

Steps to Reproduce

  1. rye add triton-model-navigator

To make it work,
pip needs to be added before the triton-model-navigator (rye add pip)

Expected Result

Successfuly instaled

Actual Result

λ rye add triton-model-navigator
Added triton-model-navigator>=0.8.1 as regular dependency
Reusing already existing virtualenv
Generating production lockfile: /home/tudor/<redacted>/<redacted>/requirements.lock
Generating dev lockfile: /home/tudor/<redacted>/<redacted>/requirements-dev.lock
Installing dependencies
   Built file:///home/tudor/<redacted>/<redacted>                                                                                                                                                   Built 1 editable in 229ms
Resolved 4 packages in 8ms
error: Failed to download distributions
  Caused by: Failed to fetch wheel: tensorrt==8.6.1
  Caused by: Failed to build: tensorrt==8.6.1
  Caused by: Build backend failed to build wheel through `build_wheel()` with exit status: 1
--- stdout:
running bdist_wheel
running build
running build_py
copying tensorrt/__init__.py -> build/lib/tensorrt
running egg_info
writing tensorrt.egg-info/PKG-INFO
writing dependency_links to tensorrt.egg-info/dependency_links.txt
writing requirements to tensorrt.egg-info/requires.txt
writing top-level names to tensorrt.egg-info/top_level.txt
reading manifest file 'tensorrt.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'tensorrt.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
--- stderr:
/home/tudor/.cache/uv/.tmpVBQqNz/.venv/bin/python: No module named pip
Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 410, in build_wheel
    return self._build_with_temp_dir(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir
    self.run_setup()
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 487, in run_setup
    super().run_setup(setup_script=setup_script)
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
  File "<string>", line 49, in <module>
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/__init__.py", line 104, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 184, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
    dist.run_commands()
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 967, in run_command
    super().run_command(command)
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/wheel/bdist_wheel.py", line 403, in run
    self.run_command("install")
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
    self.distribution.run_command(command)
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 967, in run_command
    super().run_command(command)
  File "/home/tudor/.cache/uv/.tmpVBQqNz/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "<string>", line 43, in run
  File "<string>", line 41, in install_dep
  File "/home/tudor/.rye/py/[email protected]/install/lib/python3.12/subprocess.py", line 502, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/home/tudor/.cache/uv/.tmpVBQqNz/.venv/bin/python', '-m', 'pip', 'install', 'tensorrt_libs==8.6.1', '--index-url', 'https://pypi.nvidia.com']' returned non-zero exit status 1.
---
error: Installation of dependencies failed in venv at /home/tudor/<redacted>/<redacted>/.venv. uv exited with status: exit status: 2


Version Info

rye 0.32.0
commit: 0.32.0 (e1b4f2a29 2024-03-29)
platform: linux (x86_64)
self-python: [email protected]
symlink support: true
uv enabled: true

Stacktrace

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant