Skip to content

Commit 5fc1cb1

Browse files
Merge pull request #2606 from dwdougherty/doc-3075-dwdougherty
DOC-3075: update Python connection section re. distutils removal in Python 3.12+
2 parents 138dc71 + 5d48ad7 commit 5fc1cb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/connect/clients/python.md

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ pip install redis
2626

2727
For faster performance, install Redis with [`hiredis`](https://github.com/redis/hiredis) support. This provides a compiled response parser, and for most cases requires zero code changes. By default, if `hiredis` >= 1.0 is available, `redis-py` attempts to use it for response parsing.
2828

29+
{{% alert title="Note" %}}
30+
The Python `distutils` packaging scheme is no longer part of Python 3.12 and greater. If you're having difficulties getting `redis-py` installed in a Python 3.12 environment, consider updating to a recent release of `redis-py`.
31+
{{% /alert %}}
32+
2933
```bash
3034
pip install redis[hiredis]
3135
```

0 commit comments

Comments
 (0)