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

Error: failed to build installable wheels for tensorrt #35

Open
colouredmirrorball opened this issue Feb 5, 2025 · 1 comment
Open

Comments

@colouredmirrorball
Copy link

I consequently get this error when trying to update dependencies:

        File "C:\Python312\Lib\subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['D:\\AI\\TouchDiffusion-main\\.venv\\Scripts\\pip.exe', 'install', '--extra-index-url', 'https://pypi.nvidia.com', 'tensorrt_libs==9.0.1.post11.dev4', 'tensorrt_bindings==9.0.1.post11.dev4']' returned non-zero exit status 1.
      [end of output]

It appears pip install tensorrt fails. Is there a workaround or a solution?

@olegchomp
Copy link
Owner

I consequently get this error when trying to update dependencies:

        File "C:\Python312\Lib\subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['D:\\AI\\TouchDiffusion-main\\.venv\\Scripts\\pip.exe', 'install', '--extra-index-url', 'https://pypi.nvidia.com', 'tensorrt_libs==9.0.1.post11.dev4', 'tensorrt_bindings==9.0.1.post11.dev4']' returned non-zero exit status 1.
      [end of output]

It appears pip install tensorrt fails. Is there a workaround or a solution?

First reason mostly is Python 3.12, everything was tested and required Python 3.11
Better to use Portable version with everything preinstalled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants