Find answers from the community

Updated 9 months ago

I'm on v0.10.x, and doing this, but get

I'm on v0.10.x, and doing this, but get a strange error ...
from llama_index.llms.openai import OpenAI
... and get this ...
ImportError: cannot import name 'LLM' from 'llama_index.core.llms' (unknown location)
L
M
b
9 comments
Plain Text
pip uninstall llama-index
pip install llama-index --upgrade --no-cache-dir --force-reinstall
If not that, then start with a fresh venv
I had created a new venv ... and installed afresh ... retried the above as well now
btw, I thought this was correct ...
from llama_index.readers.web import TrafilaturaWebReader ... but it gives ... ModuleNotFoundError: No module named 'llama_index.readers.web'
... what could be the reason?
did you do

pip install llama-index-readers-web ??
oops I missed installing them ... thx πŸ‘πŸΌ
Add a reply
Sign up and join the conversation on Discord