2017-10-16T16:01:56Z||2017-10-16T16:01:56Z


https://stackoverflow.com/questions/11248073/what-is-the-easiest-way-to-remove-all-packages-installed-by-pip

pip freeze | xargs pip uninstall -y

获取全局的包路径,可以这样:

>>> import site; site.getsitepackages()

我的在/usr/local/lib/python2.7/site-packages里。