For Python 3.11, it's recommended to use PyTorch 2.1.0 and Torchtext 0.15.1. According to the official PyTorch documentation, these versions are fully compatible with Python 3.11 and should work smoothly together. You can find more details and confirm compatibility on the PyTorch installation page, where they provide a version selector tool. This tool allows you to select your Python version, operating system, and preferred compute platform, and it will show the compatible PyTorch and Torchtext versions along with installation instructions.