[原]Python命令


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

posted @ 2012-03-13 14:30  念槐聚  阅读(199)  评论(0编辑  收藏  举报