dmp初始化脚本添加setuptools、MySQLdb、mysql-connector模块

1、下载安装模块

2、python setup.py install

3、检查

[root@01 ~]# python
Python 2.7.3 (default, Jun 2 2016, 03:21:46) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
>>> print MySQLdb._version_
1.2.3
>>> import mysql.connector
>>> exit()