pip install -e llama-index-integrations/llms/llama-index-llms-openai
to work. I tried both the usual import for installed packages (e.g. from llama_index.llms.openai import OpenAI
) and a relative import from the local directory (with importlib.import_module
), but I can't get anything to resolve.pip uninstall llama-index pip install llama-index
from llama_index.llms.openai import OpenAI
pip install llama-index
and even though all requirements were already satisfied, something must have changed, because from llama_index.llms.openai import OpenAI
works now and pulls the module from the local dev environment.