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

Failed to install by poetry add #2515

Open
hgffly opened this issue Nov 29, 2024 · 1 comment
Open

Failed to install by poetry add #2515

hgffly opened this issue Nov 29, 2024 · 1 comment
Labels
installation triaged Issue has been triaged by maintainers

Comments

@hgffly
Copy link

hgffly commented Nov 29, 2024

OS: Ubuntu 22.04.1
Poetry version: 1.8.4

I want to install by poetry, the command is
poetry add tensorrt-llm

But it raises errors:
Using version ^0.14.0 for tensorrt-llm

Updating dependencies
Resolving dependencies... (5.9s)

Package operations: 2 installs, 0 updates, 0 removals

  • Installing pywin32 (308): Failed
    RuntimeError

Unable to find installation candidates for pywin32 (308)

at /usr/local/lib/python3.10/dist-packages/poetry/installation/chooser.py:74 in choose_for
70│
71│ links.append(link)
72│
73│ if not links:
→ 74│ raise RuntimeError(f"Unable to find installation candidates for {package}")
75│
76│ # Get the best link
77│ chosen = max(links, key=lambda link: self._sort_key(package, link))
78│

Cannot install pywin32.

I tried the command with specific platform as well
poetry add tensorrt-llm --platform linux

But it raises the same errors, how should I install TensorRT-LLM with poetry? Thanks

@hello-11 hello-11 added installation triaged Issue has been triaged by maintainers labels Dec 2, 2024
@hello-11
Copy link
Collaborator

@hgffly could you follow this guide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation triaged Issue has been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

2 participants