-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue w/ just installing llama-stack-client only w/o llama-stack. ``` $ llama-stack-client configure Traceback (most recent call last): File "/Users/rsm/miniforge3/bin/llama-stack-client", line 5, in <module> from llama_stack_client.lib.cli.llama_stack_client import main File "/Users/rsm/miniforge3/lib/python3.12/site-packages/llama_stack_client/lib/cli/llama_stack_client.py", line 19, in <module> from .inference import inference File "/Users/rsm/miniforge3/lib/python3.12/site-packages/llama_stack_client/lib/cli/inference/__init__.py", line 7, in <module> from .inference import inference File "/Users/rsm/miniforge3/lib/python3.12/site-packages/llama_stack_client/lib/cli/inference/inference.py", line 13, in <module> from ...inference.event_logger import EventLogger File "/Users/rsm/miniforge3/lib/python3.12/site-packages/llama_stack_client/lib/inference/event_logger.py", line 6, in <module> from termcolor import cprint ModuleNotFoundError: No module named 'termcolor' ``` - Sync requirements files via: ``` rye sync ``` ## After Fix ``` conda create -n fresh python=3.11 cd llama-stack-client-python pip install -e . llama-stack-client configure --endpoint http://localhost:5000 ``` <img width="694" alt="image" src="https://github.com/user-attachments/assets/1e75bc2d-756f-44c5-9d18-701beaf03057" />
- Loading branch information
Showing
3 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters