setup.py文件没有在当前目录下,cd到解压目录下安装, 另外安装django的方法有好几种,下载easy_install或者pip工具 easy_install django==1.5.1 pip install django==1.5.1