有些package通过sudo pip install到/usr/local/lib/和/usr/local/bin去,
然而pip uninstall的时候只能删掉一部分(好像只卸了个egg),之后pip list还是可以列出来..
例如 cython,用pip卸载之后cython都还可以用,但再执行pip uninstall cython则报错:Can't uninstall 'Cython'. No files were found to uninstall.
这种情况是我的pip问题还是package没提供好卸载方案的问题?
如果是后者,我能想的只是从setup.py里分析都有哪些文件安装进去,再找出来rm,想知道有不这么累的方法吗
然而pip uninstall的时候只能删掉一部分(好像只卸了个egg),之后pip list还是可以列出来..
例如 cython,用pip卸载之后cython都还可以用,但再执行pip uninstall cython则报错:Can't uninstall 'Cython'. No files were found to uninstall.
这种情况是我的pip问题还是package没提供好卸载方案的问题?
如果是后者,我能想的只是从setup.py里分析都有哪些文件安装进去,再找出来rm,想知道有不这么累的方法吗
推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide