Skip to content

Commit

Permalink
Merge pull request #2606 from dwdougherty/doc-3075-dwdougherty
Browse files Browse the repository at this point in the history
DOC-3075: update Python connection section re. distutils removal in Python 3.12+
  • Loading branch information
dmaier-redislabs authored Nov 30, 2023
2 parents 138dc71 + 5d48ad7 commit 5fc1cb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/connect/clients/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ pip install redis

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.

{{% alert title="Note" %}}
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`.
{{% /alert %}}

```bash
pip install redis[hiredis]
```
Expand Down

0 comments on commit 5fc1cb1

Please sign in to comment.