python pip install mysql-connector-python

时间:2022-12-08 12:30:04

sudo pip install mysql-connector-python

报错信息:
Collecting mysql-connector-python
Could not find a version that satisfies the requirement mysql-connector-python (from versions: )
No matching distribution found for mysql-connector-python



解决方案: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 http://aofengblog.blog.163.com/blog/static/6317021201522084715866/