python setuptools安装在centos中
我必须在我的centos服务器上安装python的mysqldb模块。 我有2个版本的Python 1. 2.4.3 the default one 2. 2.6 which i installed 我想为2.6版本的python安装mysqldb模块。 我从这里安装它,但是当我在线上 python2.6 setup.py install 它说 Traceback (most recent call last): File "setup.py", line 5, in <module> from setuptools import setup, Extension ImportError: No module named setuptools 所以我去从这里安装设置工具。使用命令 setuptools-0.6c11-py2.6.egg 因为我安装了2.6 python所以我安装了这个rpm。 但是当我执行这个命令它说 Traceback (most recent call last): File "<string>", line 1, in <module> […]