首页 > 数据库技术 > 详细

Installing MySQL Connector/Python using pip v1.5

时间:2015-05-12 22:39:12      阅读:325      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!