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 the release wheel for Windows using pip #261

Closed
ly337 opened this issue Nov 3, 2023 · 3 comments
Closed

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

ly337 opened this issue Nov 3, 2023 · 3 comments
Assignees
Labels
build triaged Issue has been triaged by maintainers Windows

Comments

@ly337
Copy link

ly337 commented Nov 3, 2023

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!

@juney-nvidia
Copy link
Collaborator

@ly337 Hi, thanks for reporting this. There is already an internal fix for this issue. And the fix will be propagated to the github in this week.

June

@juney-nvidia juney-nvidia self-assigned this Nov 6, 2023
@juney-nvidia juney-nvidia added bug Something isn't working triaged Issue has been triaged by maintainers build and removed bug Something isn't working labels Nov 6, 2023
@kaiyux
Copy link
Member

kaiyux commented Nov 7, 2023

Hi @ly337 , we pushed an update to the main branch, including the fix to Windows release wheel installation issue. Thanks.

@ly337
Copy link
Author

ly337 commented Nov 7, 2023

Hi @kaiyux , I tested again with the new command and the installation is successful.

Thanks!

@ly337 ly337 closed this as completed Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build triaged Issue has been triaged by maintainers Windows
Projects
None yet
Development

No branches or pull requests

3 participants