Installing MySQL Connector/Python using pip v1.5

来源:互联网 发布:聚合数据api 编辑:程序博客网 时间:2024/05/16 16:59

原文地址:http://geert.vanderkelen.org/installing-coy-using-pip/


The latest pip versions will fail on you when the packages it needs to install are not hosted onPyPI. When you try to installMySQL Connector/Python the usually way, you get following message is:

shell> pip install mysql-connector-python  Could not find any downloads that satisfy the requirement     mysql-connector-python  Some externally hosted files were ignored     (use --allow-external mysql-connector-python to allow).

I have updated the download URL to include the MD5 checksum, and MySQL Connector/Python should now install using pip using following command:

shell> pip install --allow-external mysql-connector-python \  mysql-connector-python

Yes, you have to repeat the mysql-connector-python name.


0 0
原创粉丝点击