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

llama : The name 'llama' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name and the existence and validity of the path, then try again. #1888

Open
1 of 2 tasks
nrzklv opened this issue Apr 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@nrzklv
Copy link

nrzklv commented Apr 7, 2025

System Info

Windows 11 Pro
pip v25.0.1
Python v3.12.9

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

After installing pip install llama-stack, I try to list available models but I get an error in PowerShell.
PS C:\Users\Asus> llama model list
llama: The name 'llama' is not recognized as the name of a cmdlet, function, file, or operable program. Check the spelling of the name, and the existence and validity of the path, then try again.

Error logs

llama : The name "llama" is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name and the existence and validity of the path, then try again.
line:1 char:1

  • llama model list
  •   + CategoryInfo          : ObjectNotFound: (llama:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

Expected behavior

According to the documentation, it should show me a list of available models.

@nrzklv nrzklv added the bug Something isn't working label Apr 7, 2025
@nrzklv nrzklv changed the title llama : Имя "llama" не распознано как имя командлета, функции, файла сценария или выполняемой программы. Проверьте правильность написания имени, а также наличие и правильность пути, после чего повторите попытку. llama : The name 'llama' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name and the existence and validity of the path, then try again. Apr 7, 2025
@ved1beta
Copy link

ved1beta commented Apr 7, 2025

i tried is on my machine working fine ,
please can you explain the issue once

% llama
usage: llama [-h] {model,stack,download,verify-download} ...

Welcome to the Llama CLI

options:
  -h, --help            show this help message and exit

subcommands:
  {model,stack,download,verify-download}

  model                 Work with llama models
  stack                 Operations for the Llama Stack / Distributions
  download              Download a model from llama.meta.com or Hugging Face Hub
  verify-download       Verify integrity of downloaded model files```

@nrzklv
Copy link
Author

nrzklv commented Apr 7, 2025

I do what is written in the documentation, the installation process is successful, but when I request a list of available models, it displays an error.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants