Python Error: pip install mysql-connector-python failed

Python pip install mysql-connector-python 2.0.1 failed

As shown in the figure:
Error display

Tried: pip install mysql-connector-python==2.0.1 The error remains

Solution:

wget https://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.0.3.zip
unzip mysql-connector-python-2.0.3.zip
cd mysql-connector-python-2.0.3
python setup.py install

Reference: stackoverflow


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *