You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am running auto-llama with python 3.10.0 on MacOS
when i run the module, it turns out the following message.
Traceback (most recent call last):
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/timothychen_1/Library/CloudStorage/GoogleDrive-timothychenpc@gmail.com/My Drive/Projects/自我學習/Python/SideProject/auto-llama/llama-lab-main/auto_llama/auto_llama/main.py", line 5, in
from auto_llama.actions import run_command
File "/Users/timothychen_1/Library/CloudStorage/GoogleDrive-timothychenpc@gmail.com/My Drive/Projects/自我學習/Python/SideProject/auto-llama/llama-lab-main/auto_llama/auto_llama/actions.py", line 5, in
from llama_index.readers.web import BeautifulSoupWebReader
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/readers/web/init.py", line 2, in
from llama_index.readers.web.async_web.base import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/readers/web/async_web/base.py", line 5, in
from llama_index.core.readers.base import BaseReader
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/init.py", line 19, in
from llama_index.core.indices import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/init.py", line 32, in
from llama_index.core.indices.loading import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/loading.py", line 6, in
from llama_index.core.indices.registry import INDEX_STRUCT_TYPE_TO_INDEX_CLASS
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/registry.py", line 13, in
from llama_index.core.indices.property_graph import PropertyGraphIndex
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/init.py", line 1, in
from llama_index.core.indices.property_graph.base import PropertyGraphIndex
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/base.py", line 17, in
from llama_index.core.indices.property_graph.transformations import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/transformations/init.py", line 4, in
from llama_index.core.indices.property_graph.transformations.schema_llm import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/transformations/schema_llm.py", line 116, in
class SchemaLLMPathExtractor(TransformComponent):
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/transformations/schema_llm.py", line 153, in SchemaLLMPathExtractor
possible_entities: Optional[TypeAlias] = None,
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/typing.py", line 309, in inner
return func(*args, **kwds)
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/typing.py", line 400, in getitem
return self._getitem(self, parameters)
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/typing.py", line 525, in Optional
arg = _type_check(parameters, f"{self} requires a single type.")
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/typing.py", line 169, in _type_check
raise TypeError(f"Plain {arg} is not valid as type argument")
TypeError: Plain typing.TypeAlias is not valid as type argument
The text was updated successfully, but these errors were encountered:
i am running auto-llama with python 3.10.0 on MacOS
when i run the module, it turns out the following message.
Traceback (most recent call last):
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/timothychen_1/Library/CloudStorage/GoogleDrive-timothychenpc@gmail.com/My Drive/Projects/自我學習/Python/SideProject/auto-llama/llama-lab-main/auto_llama/auto_llama/main.py", line 5, in
from auto_llama.actions import run_command
File "/Users/timothychen_1/Library/CloudStorage/GoogleDrive-timothychenpc@gmail.com/My Drive/Projects/自我學習/Python/SideProject/auto-llama/llama-lab-main/auto_llama/auto_llama/actions.py", line 5, in
from llama_index.readers.web import BeautifulSoupWebReader
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/readers/web/init.py", line 2, in
from llama_index.readers.web.async_web.base import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/readers/web/async_web/base.py", line 5, in
from llama_index.core.readers.base import BaseReader
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/init.py", line 19, in
from llama_index.core.indices import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/init.py", line 32, in
from llama_index.core.indices.loading import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/loading.py", line 6, in
from llama_index.core.indices.registry import INDEX_STRUCT_TYPE_TO_INDEX_CLASS
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/registry.py", line 13, in
from llama_index.core.indices.property_graph import PropertyGraphIndex
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/init.py", line 1, in
from llama_index.core.indices.property_graph.base import PropertyGraphIndex
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/base.py", line 17, in
from llama_index.core.indices.property_graph.transformations import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/transformations/init.py", line 4, in
from llama_index.core.indices.property_graph.transformations.schema_llm import (
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/transformations/schema_llm.py", line 116, in
class SchemaLLMPathExtractor(TransformComponent):
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/site-packages/llama_index/core/indices/property_graph/transformations/schema_llm.py", line 153, in SchemaLLMPathExtractor
possible_entities: Optional[TypeAlias] = None,
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/typing.py", line 309, in inner
return func(*args, **kwds)
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/typing.py", line 400, in getitem
return self._getitem(self, parameters)
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/typing.py", line 525, in Optional
arg = _type_check(parameters, f"{self} requires a single type.")
File "/Users/timothychen_1/.pyenv/versions/3.10.0/lib/python3.10/typing.py", line 169, in _type_check
raise TypeError(f"Plain {arg} is not valid as type argument")
TypeError: Plain typing.TypeAlias is not valid as type argument
The text was updated successfully, but these errors were encountered: