Skip to content

Failed to install by poetry add #2515

Open
@hgffly

Description

@hgffly

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    InstallationSetting up and building TRTLLM: compilation, pip install, dependencies, env config, CMake.triagedIssue has been triaged by maintainerswaiting for feedback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions