yes I'm not certain what is going on but I appreciate the help:
- I have tried running several (venv) environments including Conda (python 3.10.4 and up): all gave the same errors when trying to load in llama dependencies.
from pydantic import BaseModel
from llama_index.core import download_loader
Traceback (most recent call last):
File "c:\Projects\activeloop\test.py", line 2, in <module>
from llama_index.core import download_loader
File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\llama_index\core__init
.py", line 10, in <module> from llama_index.core.base.response.schema import Response File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\llama_index\core\base\response\schema.py", line 7, in <module> from llama_index.core.async_utils import asyncio_run File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\llama_index\core\async_utils.py", line 7, in <module> import llama_index.core.instrumentation as instrument File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\llama_index\core\instrumentation__init.py", line 1, in <module>
from llama_index.core.instrumentation.dispatcher import Dispatcher, Manager
File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\llama_index\core\instrumentation\dispatcher.py", line 24, in <module>
class Dispatcher(BaseModel):
File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pydantic\v1\main.py", line 286, in
new cls.
try_update_forward_refs()
File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pydantic\v1\main.py", line 808, in
try_update_forward_refs update_model_forward_refs(cls, cls.
fields.values(), cls.
config.json_encoders, localns, (NameError,))
File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pydantic\v1\typing.py", line 554, in update_model_forward_refs
update_field_forward_refs(f, globalns=globalns, localns=localns)
File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pydantic\v1\typing.py", line 520, in update_field_forward
refs field.type = evaluate
forwardref(field.type, globalns, localns or None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aidoj\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\pydantic\v1\typing.py", line 66, in evaluate
forwardref return cast(Any, type)._evaluate(globalns, localns, set())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'