diff --git a/docs/install.rst b/docs/install.rst
index 55af62bc0b7..74f4199129b 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -36,6 +36,8 @@ Third party/extra tools.
^^^^^^^^^^^^^^^^^^^^^^^^
- `Python `__ - Python 3.6 or newer is required.
+- Python package ``packaging`` is required on Python 3.12+:
+ ``pip install packaging``
- `Python Mako module `__ - Python Mako
module is required. Version 0.8.0 or later should work.
- Lex / Yacc - for building the Mesa IR and GLSL compiler.
diff --git a/docs/meson.rst b/docs/meson.rst
index c688f60b843..181252bf86e 100644
--- a/docs/meson.rst
+++ b/docs/meson.rst
@@ -66,7 +66,7 @@ Then install Meson using pip
.. code-block:: console
- py -3 -m pip install meson mako
+ py -3 -m pip install meson packaging mako
You may need to add the Python 3 scripts directory to your path for
Meson.