Find answers from the community

Updated 6 months ago

I m using Python 3.12 and my friends

I m using Python 3.12 and my friends Macbook has 3.9

Traceback (most recent call last):
File "C:\Coding\Lproj\a1.py", line 5, in <module>
from llama_parse import LlamaParse
File "C:\Users\jshah\AppData\Local\Programs\Python\Python312\Lib\site-packages\llama_parse__init.py", line 1, in <module> from llama_parse.base import LlamaParse, ResultType File "C:\Users\jshah\AppData\Local\Programs\Python\Python312\Lib\site-packages\llama_parse\base.py", line 9, in <module> from llama_index.core.async_utils import run_jobs File "C:\Users\jshah\AppData\Local\Programs\Python\Python312\Lib\site-packages\llama_index\core__init.py", line 10, in <module>
from llama_index.core.base.response.schema import Response
File "C:\Users\jshah\AppData\Local\Programs\Python\Python312\Lib\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\jshah\AppData\Local\Programs\Python\Python312\Lib\site-packages\llama_index\core\async_utils.py", line 7, in <module>
import llama_index.core.instrumentation as instrument
File "C:\Users\jshah\AppData\Local\Programs\Python\Python312\Lib\site-packages\llama_index\core\instrumentation__init__.py", line 1, in <module>
from llama_index.core.instrumentation.dispatcher import Dispatcher, Manager
File "C:\Users\jshah\AppData\Local\Programs\Python\Python312\Lib\site-packages\llama_index\core\instrumentation\dispatcher.py", line 24, in
L
C
2 comments
It supports windows. I saw this error earlier though, its related to some weird thing introduced in python 3.12.4 -- people say downgrading to 3.12.2 or older works

Something about 3.12.4 breaks pydantic
Thank you so much for your help, downgrading the version worked perfectly.
Add a reply
Sign up and join the conversation on Discord