Traceback (most recent call last):
File "/Users/wayne/Desktop/Gothub/gots/src/gots/test_callback.py", line 2, in
import langchain
File "/Users/wayne/.pyenv/versions/3.10.12/lib/python3.10/site-packages/langchain/init.py", line 3, in
from importlib import metadata
File "/Users/wayne/.pyenv/versions/3.10.12/lib/python3.10/importlib/metadata/init.py", line 17, in
from . import _adapters, _meta
File "/Users/wayne/.pyenv/versions/3.10.12/lib/python3.10/importlib/metadata/_meta.py", line 1, in
from typing import Any, Dict, Iterator, List, Protocol, TypeVar, Union
File "/Users/wayne/Desktop/Gothub/gots/src/gots/typing.py", line 2, in
from typing import Optional, Callable
ImportError: cannot import name 'Optional' from partially initialized module 'typing' (most likely due to a circular import) (/Users/wayne/Desktop/Gothub/gots/src/gots/typing.py)
Traceback (most recent call last): File "/Users/wayne/Desktop/Gothub/gots/src/gots/test_callback.py", line 2, in
import langchain
File "/Users/wayne/.pyenv/versions/3.10.12/lib/python3.10/site-packages/langchain/init.py", line 3, in
from importlib import metadata
File "/Users/wayne/.pyenv/versions/3.10.12/lib/python3.10/importlib/metadata/init.py", line 17, in
from . import _adapters, _meta
File "/Users/wayne/.pyenv/versions/3.10.12/lib/python3.10/importlib/metadata/_meta.py", line 1, in
from typing import Any, Dict, Iterator, List, Protocol, TypeVar, Union
File "/Users/wayne/Desktop/Gothub/gots/src/gots/typing.py", line 2, in
from typing import Optional, Callable
ImportError: cannot import name 'Optional' from partially initialized module 'typing' (most likely due to a circular import) (/Users/wayne/Desktop/Gothub/gots/src/gots/typing.py)