码迷,mamicode.com
首页 > 数据库 > 详细

Installing MySQL Connector/Python using pip v1.5

时间:2015-05-12 22:39:19      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:

The latest pip versions will fail on you when the packages it needs to install are not hosted on PyPI . When you try to install MySQL 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.

技术分享

AboutGeert Vanderkelen

Geert JM Vanderkelen, based in Berlin (Germany), is a member of the MySQL Utilities Team at Oracle and lead developer of Connector/Python. Before joining the MySQL team, he has worked as Developer, DBA and SysAdmin for over 6 years for various companies in Belgium and Germany. Geert was a key member of the MySQL Support Team for more than 7 years.

Installing MySQL Connector/Python using pip v1.5

标签:

原文地址:http://www.cnblogs.com/feika/p/4498612.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!