[error]pip install mysql-connector-python失败

Python pip install mysql-connector-python 2.0.1 失败

如图:
错误展示

尝试了:pip install mysql-connector-python==2.0.1错误依旧

解决方法:

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

参照:stackoverflow

你可能感兴趣的:([error]pip install mysql-connector-python失败)