forked from phoenix-oss/llama-stack-mirror
Don't import pkg_resources
until you need it
This commit is contained in:
parent
25adc83de8
commit
3e27131a69
2 changed files with 4 additions and 3 deletions
|
@ -8,8 +8,6 @@ import argparse
|
|||
import json
|
||||
from pathlib import Path
|
||||
|
||||
import pkg_resources
|
||||
|
||||
import yaml
|
||||
from termcolor import cprint
|
||||
|
||||
|
@ -49,6 +47,8 @@ class StackConfigure(Subcommand):
|
|||
)
|
||||
|
||||
def _run_stack_configure_cmd(self, args: argparse.Namespace) -> None:
|
||||
import pkg_resources
|
||||
|
||||
from llama_stack.distribution.build import ImageType
|
||||
|
||||
docker_image = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue