Find answers from the community

s
F
Y
a
P
Updated 2 years ago

Import typing

I'm getting this back when I try to import llama_index
Plain Text
ImportError: cannot import name 'Protocol' from 'typing' (/usr/lib/python3.7/typing.py)


Anyone knows the cause?
L
w
2 comments
Try upgrading your python to at least 3.8
Yep, that fixed it, thanks
Add a reply
Sign up and join the conversation on Discord