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

Unable to import: from llama_stack import LlamaStack #76

Open
cheesecake100201 opened this issue Sep 19, 2024 · 2 comments
Open

Unable to import: from llama_stack import LlamaStack #76

cheesecake100201 opened this issue Sep 19, 2024 · 2 comments

Comments

@cheesecake100201
Copy link

Path to file: /llama-stack-apps/sdk_examples/agents/client.py
Line 11
from llama_stack import LlamaStack

Steps to recreate:

  1. Created a conda venv with python3.10
  2. pip install -r requirements.txt
  3. Ran the llama-stack server on port 8081(For starting the server check out the llama stack repo)
  4. python -m sdk_examples.agents.client localhost 8081

The following error is given after the above command

Traceback (most recent call last):
  File "/usr/local/Caskroom/miniconda/base/envs/llama-stack/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/Caskroom/miniconda/base/envs/llama-stack/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/sarthakdeshpande/engati/llama-stack-apps/sdk_examples/agents/client.py", line 11, in <module>
    from llama_stack import LlamaStack
ImportError: cannot import name 'LlamaStack' from 'llama_stack' (/usr/local/Caskroom/miniconda/base/envs/llama-stack/lib/python3.10/site-packages/llama_stack/__init__.py)
Screenshot 2024-09-19 at 5 09 02 PM
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

3 participants
@cheesecake100201 and others