llama-stack icon indicating copy to clipboard operation
llama-stack copied to clipboard

Import Error During llama stack configure <name>

Open cheesecake100201 opened this issue 1 year ago • 2 comments

 File "/usr/local/Caskroom/miniconda/base/envs/llama/lib/python3.10/site-packages/llama_stack/providers/adapters/inference/together/__init__.py", line 7, in <module>
    from .config import TogetherImplConfig, TogetherHeaderExtractor
  File "/usr/local/Caskroom/miniconda/base/envs/llama/lib/python3.10/site-packages/llama_stack/providers/adapters/inference/together/config.py", line 11, in <module>
    from llama_stack.distribution.request_headers import annotate_header
ImportError: cannot import name 'annotate_header' from 'llama_stack.distribution.request_headers' (/usr/local/Caskroom/miniconda/base/envs/llama/lib/python3.10/site-packages/llama_stack/distribution/request_headers.py)

This is the error I am getting while I run llama stack configure using together inference API.

cheesecake100201 avatar Sep 26 '24 04:09 cheesecake100201