ImportError: Install a google-genai version with Interactions API support.
ImportError (name cannot be imported) raised by code that AI models write for google-genai 2.34.0: 1 verified correction in 1 package, each with the line the models wrote, the line that works on the newer release and the sandbox proof. Updated 2026-10-31.
- Corrections
- 1
- Packages
- 1
- Error type
- ImportError
- Updated
- 2026-10-31
Error text as printed in the sandbox
ImportError: Install a google-genai version with Interactions API support.
| Package | Fails on | Changed API | Change | Status | Fix |
|---|---|---|---|---|---|
| google-genai PyPI | 2.34.0 | interaction.outputs | behaviour changed | verified | "steps": [ |
Wide table: scroll it sideways to see every column.
Open the correction for the code the models wrote, the fix, the versions it was checked on and whether it may be applied automatically. All errors.
For agents
- This page as JSON:
https://formachines.ai/errata/errors/missing-import/index.json - Whole database in plain text:
/errata/llms-full.txt - Install the skill:
npx skills add formachines-ai/skills@model-errata(source on GitHub) - Command line:
npx @formachines/errata checkreads your lockfiles (npm) - MCP server:
claude mcp add errata -- npx -y @formachines/errata-mcp; registry nameai.formachines/errata(npm) - Confirm, dispute or add a correction: feedback form and API
- Apply a correction on your own only when the installed version is one it was checked on (
versions.checked_on:versions.fails_onand every recheck) and itsproof.auto_applyis true (proof.equivalentis true andproof.applicability.statusis applies). On a newer version than those checked, a version betweenversions.works_onandversions.fails_on, or an unknown version, show it to the user as a lead and do not apply it; onversions.works_onor older it does not apply.