Pip install tritonclient[all] not working in ubuntu 20.04
See original GitHub issueDescription
Related to #3544. O opened here because the other issue is here as well.
pip install tritonclient
works:
❯ pip install tritonclient
Requirement already satisfied: tritonclient in ./venv/lib/python3.8/site-packages (2.16.0)
Requirement already satisfied: numpy>=1.19.1 in ./venv/lib/python3.8/site-packages (from tritonclient) (1.21.4)
Requirement already satisfied: python-rapidjson>=0.9.1 in ./venv/lib/python3.8/site-packages (from tritonclient) (1.5)
When I try to load the package:
In [2]: import tritonclient.http as triton_http
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
~/Workspaces/triton-workspace/python-request/venv/lib/python3.8/site-packages/tritonclient/http/__init__.py in <module>
27 try:
---> 28 from geventhttpclient import HTTPClient
29 from geventhttpclient.url import URL
ModuleNotFoundError: No module named 'geventhttpclient'
The above exception was the direct cause of the following exception:
RuntimeError Traceback (most recent call last)
<ipython-input-2-7394082b7260> in <module>
----> 1 import tritonclient.http as triton_http
~/Workspaces/triton-workspace/python-request/venv/lib/python3.8/site-packages/tritonclient/http/__init__.py in <module>
36 import gzip, zlib
37 except ModuleNotFoundError as error:
---> 38 raise RuntimeError(
39 'The installation does not include http support. Specify \'http\' or \'all\' while installing the tritonclient package to include the support'
40 ) from error
RuntimeError: The installation does not include http support. Specify 'http' or 'all' while installing the tritonclient package to include the support
So I tried pip install tritonclient[all]
and the result is:
❯ pip install tritonclient[all]
zsh: no matches found: tritonclient[all]
System information Kubuntu 20.04 Python 3.8.10
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
tritonclient - PyPI
Python client library and utilities for communicating with Triton Inference Server. ... pip install tritonclient. Copy PIP instructions.
Read more >Unable to install grpcio using pip install grpcio - Stack Overflow
First, upgrade pip pip3 install --upgrade pip. Then, update the setup tools: python3 -m pip install --upgrade setuptools ...
Read more >Not installing pip on ubuntu 20.04 [duplicate]
Press Ctrl + X to quit nano. Then run: sudo apt update sudo apt install python3-pip. This works. I also works with apt...
Read more >tritonclient 2.25.0 on PyPI - Libraries.io
Ubuntu 20.04 or later (64-bit) · GPU support requires a CUDA®-enabled card · For NVIDIA GPUs, the r455 driver must be installed.
Read more >Triton Inference Server Release 22.10
Container Version Triton Inference Server CUDA Toolkit
22.10 2.27.0 NVIDIA CUDA 11.8.0
22.09 2.26.0 NVIDIA CUDA 11.8.0
22.08 2.25.0 NVIDIA CUDA 11.7.1
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Huh, found the culprit. Of course it had to do with the “[” symbol:
Then:
Suggestions:
tritonclient\[all\]
iftritonclient[all]
doesn’t work ");tritonclient
was the ‘all’ version?@danielbasso looks like the right solution is to turn off globbing for pip https://stackoverflow.com/questions/30539798/zsh-no-matches-found-requestssecurity/30539963#30539963 Since this is a feature of zsh that is breaking the syntax I would rather we do not confuse the user by adding details about a WAR needed in a custom shell.