Python PIP 删除包
删除一个包
使用 uninstall
命令删除一个包:
实例
卸载名为 "camelcase"的包:
C:\Users\Your Name\AppData\Local\Programs\Python\Python36-32\Scripts>pip
uninstall camelcase
PIP 包管理器会要求您确认是否要删除驼峰包:
Uninstalling camelcase-02.1:
Would remove:
c:\users\Your Name\appdata\local\programs\python\python36-32\lib\site-packages\camecase-0.2-py3.6.egg-info
c:\users\Your Name\appdata\local\programs\python\python36-32\lib\site-packages\camecase\*
Proceed (y/n)?
按y
,该包将被删除。