Skip to content

Failed to install the release wheel for Windows using pip #261

@ly337

Description

@ly337

Hi there!

I was trying to install the release wheel for Windows using pip in Anaconda:
pip install tensorrt_llm --extra-index-url https://pypi.nvidia.com --extra-index-url https://download.pytorch.org/whl/nightly/cu121

And this is what I got:

Looking in indexes: https://pypi.org/simple, https://pypi.nvidia.com, https://download.pytorch.org/whl/nightly/cu121
Collecting tensorrt_llm
Using cached https://pypi.nvidia.cn/tensorrt-llm/tensorrt_llm-0.5.0.post1-cp310-cp310-win_amd64.whl (431.5 MB)
Collecting build (from tensorrt_llm)
Using cached build-1.0.3-py3-none-any.whl.metadata (4.2 kB)
INFO: pip is looking at multiple versions of tensorrt-llm to determine which version is compatible with other requirements. This could take a while.
Collecting tensorrt_llm
Using cached https://pypi.nvidia.cn/tensorrt-llm/tensorrt_llm-0.5.0-0-cp310-cp310-win_amd64.whl (431.5 MB)
ERROR: Cannot install tensorrt-llm==0.5.0 and tensorrt-llm==0.5.0.post1 because these package versions have conflicting dependencies.

The conflict is caused by:
tensorrt-llm 0.5.0.post1 depends on torch==2.1.0+cu121
tensorrt-llm 0.5.0 depends on torch==2.1.0.dev20230828+cu121

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Any hint would be appreciated. Thank you!

Metadata

Metadata

Assignees

Labels

Windows<NV>Windows operating system specific issues and compatibility problemstriagedIssue has been triaged by maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions