Windows Firefox php linux Android mysql Python shell 开源 nginx apache Ubuntu linux命令 java HTML5 wordpress 程序员 微软 centos google

安装Pyhton MySQLdb

安装很简单,几步就好

wget -q http://peak.telecommunity.com/dist/ez_setup.py
python ./ez_setup.py

wget http://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz
tar -zxvf MySQL-python-1.2.3.tar.gz 
cd MySQL-python-1.2.3
python setup.py install

可能出现问题1:error: commandgcc’ failed with exit status 1

解决:yum install python-devel

延伸阅读

  • 抱歉,暂无相关内容!

评论