OS: Windows 11
Python Version: 3.12.0 (via uv)
Installer: uv (Astral)
Package: droidrun (trying to enable Google provider)
Description:
I am trying to run droidrun with the Gemini 1.5 Flash model to avoid quota limits on the default Pro model. When specifying the Google provider, the tool fails to import llama_index.llms.google.
Attempts to manually install the missing dependency fail with a “No matching distribution found” error, despite the package existing on PyPI. It appears to be a compatibility or resolution issue specific to Python 3.12 on Windows.
Steps to Reproduce (I took help from AI but nothing helped):
- Installed droidrun via uv: uv pip install ‘droidrun[google,anthropic,openai,deepseek]’
- Ran command: uv run droidrun run “Open settings” –provider google –model gemini-1.5-flash
- Error: Module ‘llama_index.llms.google’ not found.
- Attempted manual fix: uv pip install llama-index-llms-google
- Fatal Error:
ERROR: Could not find a version that satisfies the requirement
llama-index-llms-google (from versions: none) ERROR: No matching
distribution found for llama-index-llms-google Troubleshooting
Attempted: Tried force reinstalling with –refresh and –reinstall.
Tried installing via standard pip inside the venv (python -m pip
install …).
Tried installing with --no-deps.
Observation: Logs indicate the environment is persistently using Python 3.12, which seems to be the source of the compatibility conflict for this specific package.
Request:
Is there a known workaround for llama-index-llms-google on Windows/Python 3.12, or do I strictly need to downgrade to Python 3.10/3.11?
It would be great if I could get guide on how to proceed