cd /usr/lib/python2.7/dist-packages
sudo rm -rf django
sudo rm Django-1.8.7.egg-info
基本命令如此,具体文件因版本有所不同