-
Notifications
You must be signed in to change notification settings - Fork 365
❓ [Question] Cannot install torch-tensorrt package #1188
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
Comments
Follow these instructions to build torch-tensorrt for windows #1058 |
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com and when I use this command "pip3 install torch-tensorrt" -f https://github.com/pytorch/tensorrt/releases/expanded_assests/" according to this link https://pytorch.org/TensorRT/getting_started/installation.html#installation, I get the following error × python setup.py egg_info did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. How can I fix it? |
This fixed it for me. #1371 (comment) |
@narendasan why you're not giving the exact installation process? it would be really helpful if you give the installation requirements, Python version |
The command for torch-tensorrt installation at official PyTorch docs page is misleading because it is presented as: pip3 install torch-tensorrt==<VERSION> -f https://github.com/pytorch/TensorRT/releases/expanded_assets/<VERSION> implying that you need to type the pip3 install torch-tensorrt==<VERSION> -f https://github.com/pytorch/TensorRT/releases/expanded_assets/v<VERSION> Notice prepended letter pip3 install torch-tensorrt==1.1.0 -f https://github.com/pytorch/TensorRT/releases/expanded_assets/v1.1.0 |
pip3 install torch-tensorrt==1.1.0 -f https://github.com/pytorch/TensorRT/releases/expanded_assets/v1.1.0 Leads to this error Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Looking in links: https://github.com/pytorch/TensorRT/releases/expanded_assets/v1.1.0
ERROR: Could not find a version that satisfies the requirement torch-tensorrt==1.1.0 (from versions: 0.0.0, 0.0.0.post1)
ERROR: No matching distribution found for torch-tensorrt==1.1.0 |
+1 for this request. I don't understand why this issue was closed, since neither the error message returned by pip mentions that torch_tensorrt needs to be compiled on Windows (if that's the case), nor does the provided link present clear and easy-to-follow instructions on how to do this. I.e. the issue hasn't been resolved. |
@pbamotra |
Geez. Why the F**k not just build this for each version of cuda, torch, and python like other serious tools? |
Hi! Can someone explain why this is error
The text was updated successfully, but these errors were encountered: