| Bug #108911 | Connector/Python 8.0.31 installation fails if Python version is 3.11.0 | ||
|---|---|---|---|
| Submitted: | 28 Oct 2022 11:26 | Modified: | 15 Nov 2022 23:40 |
| Reporter: | John Green | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / Python | Severity: | S3 (Non-critical) |
| Version: | 8.0.31 | OS: | Windows (11 Pro Insider Preview 22623.870) |
| Assigned to: | CPU Architecture: | Other (x64) | |
[7 Nov 2022 12:42]
MySQL Verification Team
Hello John Green, Thank you for the bug report. Verified as described. Regards, Ashwini Patil
[14 Nov 2022 18:13]
Oscar Pacheco
Posted by developer: Hi John, We are taking action to fix the issue reported. In the meantime, I recommend installing MySQL Connector/Python via pip instead of using the installer directly. Assuming you have installed python 3.11 and created a virtual environment workspace, you can install the package using the following command: Console (CMD or PowerShell) -------------------------------- > pip install mysql-connector-python By default, it will install the latest version available which is 8.0.31. In case you want a different version, let's say 8.0.29, you can use the following: > pip install mysql-connector-python==8.0.29 Thanks for the report, regards.
[15 Nov 2022 23:40]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Connector/Python 8.0.32 release, and here's the proposed changelog entry from the documentation team: On Windows, the Connector/Python MSI did would not detect and install with Python 3.11. The workaround is to use pip install mysql-connector-python instead. Thank you for the bug report.
[29 Nov 2022 11:24]
MySQL Verification Team
Bug #109233 marked as duplicate of this one
[6 Dec 2022 10:27]
MySQL Verification Team
Bug #109293 marked as duplicate of this one

Description: Can't install Connector/Python 8.0.31. I have Python 3.11.0 installed using .exe setup (python-3.11.0-amd64.exe) but MySQL Installer reporting that it unable to locate any supported Python version. If I use Python 3.10.8, the installation is successful Setup log: 1: Action 14:19:44: INSTALL. 1: 1: MySQL Connector Python v8.0.31 2: {D46BFD4D-FC6F-4F53-96C8-50C3E9C79CD2} 1: Action 14:19:44: FindRelatedProducts. Searching for related applications 1: Action 14:19:44: AppSearch. Searching for installed applications 1: Action 14:19:44: SetInstallDirCurrentP311. 1: Action 14:19:44: LaunchConditions. Evaluating launch conditions 1: We are unable to locate any supported Python version like Python v3.7 x64 edition. We only support Python installed using the Microsoft Windows Installer (MSI or EXE) downloaded from http://www.python.org/download/. Please check the Connector/Python manual on http://dev.mysql.com/doc/ for more information. 1: 1: MySQL Connector Python v8.0.31 2: {D46BFD4D-FC6F-4F53-96C8-50C3E9C79CD2} 3: 3 1: The action 'Install' for product 'Connector/Python 8.0.31' failed. How to repeat: 1. Setup Python 3.11.0 2. Open MySQL Installer 3. Try to install Connector/Python 8.0.31 Suggested fix: I wish I knew