From e4ffc936971217e99de8eb699658891403e2fa97 Mon Sep 17 00:00:00 2001 From: DJH52 Date: Mon, 13 Apr 2026 17:10:04 +0100 Subject: [PATCH] add python version prerequisite --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6d50c442..9cc61ae3 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,10 @@ For examples and use cases, see our report issues and feedback in [our GitHub](https://github.com/google-deepmind/gemma/issues). +### Prerequisites + +* **Python 3.11 or higher:** This library requires modern Python components (e.g. Kauldron and JAX). Using an older Python version (**3.10 or lower**) will cause `pip` to install an unrelated "gemma" package from 2020, resulting in `ImportError: cannot import name 'gm'`. + ### Installation 1. Install JAX for CPU, GPU or TPU. Follow the instructions on