-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Create a new env and try to download llama3.2 model, but get following exceptions:
`
llama model list
Traceback (most recent call last):
File "/home/shijiexu/.local/bin/llama", line 5, in
from llama_stack.cli.llama import main
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/init.py", line 7, in
from llama_stack.distribution.library_client import ( # noqa: F401
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/distribution/library_client.py", line 32, in
from llama_stack.distribution.build import print_pip_install_help
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/distribution/build.py", line 16, in
from llama_stack.distribution.datatypes import BuildConfig, Provider
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/distribution/datatypes.py", line 11, in
from llama_stack.apis.benchmarks import Benchmark, BenchmarkInput
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/apis/benchmarks/init.py", line 7, in
from .benchmarks import * # noqa: F401 F403
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/apis/benchmarks/benchmarks.py", line 11, in
from llama_stack.schema_utils import json_schema_type, webmethod
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/schema_utils.py", line 10, in
from .strong_typing.schema import json_schema_type, register_schema # noqa: F401
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/strong_typing/schema.py", line 616, in
class Validator(enum.Enum):
File "/home/shijiexu/.local/lib/python3.10/site-packages/llama_stack/strong_typing/schema.py", line 620, in Validator
Draft201909 = jsonschema.Draft201909Validator
AttributeError: module 'jsonschema' has no attribute 'Draft201909Validator'. Did you mean: 'Draft3Validator'?
`
After google, and most says it is jsonschema
package version issue. Therefore, I downgrade the version from 4.23.0 to 4.19.0, jsonschema-4.17.0, jsonschema 4.1.0, jsonschema-3.2.0. But still the same error.
Any tips? thanks.