使用setup.py安装python包和卸载python包的方法 python setup.py install --record files.txt 记录安装后文件的路径 cat files.txt | xargs rm -rf 删除这些文件