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) |
[28 Oct 2022 11:26]
John Green
[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