首页 > 数据库技术 > 详细

Set the Mysqldb in Python

时间:2014-02-17 09:54:09      阅读:362      评论:0      收藏:0      [点我收藏+]

When we set the Mysqldb in the python,we may make all kinds of errors.

For example:


 

  _mysql.c: At top level:

  xxxxxxxxxxxxxxx

  xxxxxxxxxxxxxxx

  error: command ‘gcc‘ failed with exit status 1

 


 

so we just do this :

  yum install python-devel mysql-devel zlib-devel openssl-devel

 


 

we just lost something in the python .and then

  python setup.py build

  python setup.py install

Set the Mysqldb in Python

原文:http://www.cnblogs.com/Renekton/p/3551722.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!