1.安装:
python setup.py install
2.卸载:
python setup.py install --record files.txt
cat files.txt | xargs rm -rf
删除对应目录文件:
sudo rm $(cat install.record)
3.其他方法1:
sudo pip uninstall <package name>
4.其他方法2:
for i in $(less install.record);
sudo rm $i;
done;
Python egg学习
http://www.worldhello.net/2010/12/08/2178.html