MySQL Forums
Forum List  »  Connector/Python

Re: protobuf requires Python '>=3.7' but the running Python is 3.6.8
Posted by: Nuno Mariz
Date: July 25, 2022 04:00AM

An option that you have is to install an old version of Connector/Python.

1) First install a compatible Protobuf version by running:

pip3 install "protobuf>=3.11.0,<=3.20.1"

This is needed because Protobuf introduced breaking changes in the latest 4.21.3.

2) Then install the latest Python 3.6 supported version:

pip3 install mysql-connector-python==8.0.28

Keep in mind that you are limited to version 8.0.28 and you'll not have access to new features and bug fixes.

Options: ReplyQuote


Subject
Written By
Posted
Re: protobuf requires Python '>=3.7' but the running Python is 3.6.8
July 25, 2022 04:00AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.