安装django前要先安装setuptools 先安装一些必要的包,否则会报错:Python build finished, but the necessary bits to build these modules were not found #yum install -y sqlite bzip2-devel.i686 gdbm-devel.i686 readline-devel.x86_64 readline-devel sqlite-devel openssl-devel.i686 l…
在python运行过程中出现如下错误: python错误:ImportError: No module named setuptools这句错误提示的表面意思是:没有setuptools的模块,说明python缺少这个模块,那我们只要安装这个模块即可解决此问题,下面我们来安装一下:在命令行下:下载setuptools包 shell# wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz解…