标签:http 使用 ar strong for 文件 sp on c
只能源码安装
http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.3/
http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz/download
sudo apt-get install python-setuptools
sudo apt-get install libmysqld-dev
sudo apt-get install python-dev
yum install python-devel
yum install mysql-devel.x86_64
which mysql_config
修改site.cfg中的mysql的配置, 修改为指定的路径.
sudo python setup.py install # or su first
可能的错误:
error: my_config.h: No such file or directory
需要按照以上步骤安装
标签:http 使用 ar strong for 文件 sp on c
原文地址:http://www.cnblogs.com/strikebone/p/3975372.html