mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
avoid jq since non-standard on macOS
This commit is contained in:
parent
9bf2e354ae
commit
441052b0fd
2 changed files with 2 additions and 3 deletions
|
@ -72,9 +72,9 @@ class StackConfigure(Subcommand):
|
|||
Path(os.path.expanduser("~/.conda/envs")) / f"llamastack-{args.config}"
|
||||
)
|
||||
output = subprocess.check_output(
|
||||
["bash", "-c", "conda info --json -a | jq '.envs'"]
|
||||
["bash", "-c", "conda info --json -a"]
|
||||
)
|
||||
conda_envs = json.loads(output.decode("utf-8"))
|
||||
conda_envs = json.loads(output.decode("utf-8"))["envs"]
|
||||
|
||||
for x in conda_envs:
|
||||
if x.endswith(f"/llamastack-{args.config}"):
|
||||
|
|
|
@ -6,7 +6,6 @@ llama-models>=0.0.39
|
|||
prompt-toolkit
|
||||
python-dotenv
|
||||
pydantic>=2
|
||||
jq
|
||||
requests
|
||||
rich
|
||||
termcolor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue