快速卸载python包的工具。

pipurge的Python项目详细描述


https://img.shields.io/pypi/v/pipurge.svg

pipurge是一个允许您在系统级或在 维图阿列诺夫。

用法

基本用法:

$ pipurge

  There are 23 packages to uninstall. Proceed? [y/N]: y

  Uninstalling aiodns-1.1.1:
    Successfully uninstalled aiodns-1.1.1

  Uninstalling aiohttp-2.2.5:
    Successfully uninstalled aiohttp-2.2.5

  Uninstalling async-timeout-2.0.0:
    Successfully uninstalled async-timeout-2.0.0

  Uninstalling certifi-2018.11.29:
    Successfully uninstalled certifi-2018.11.29

  ...

还可以使用–keep选项指定要保持安装的某些包。 pipurge还将保留您指定的包的依赖项,以便它们继续工作。

如果希望进一步控制进程,请使用–ask选项和pipurge 将询问您是否卸载剩余的每个包。

$ pipurge --keep requests,flask --ask

  Finding dependencies for requests...
    Finding dependencies for certifi...
    Finding dependencies for chardet...
    Finding dependencies for idna...
    Finding dependencies for urllib3...
  Finding dependencies for flask...
    Finding dependencies for Werkzeug...
    Finding dependencies for Jinja2...
      Finding dependencies for MarkupSafe...
    Finding dependencies for itsdangerous...
    Finding dependencies for click...

  There are 3 packages to uninstall. Proceed? [y/N]: y

  Uninstall bleach ? [y/N]: y
  Uninstalling bleach-3.0.2:
    Successfully uninstalled bleach-3.0.2

  Uninstall docutils ? [y/N]: n

  Uninstall faste ? [y/N]: y
  Uninstalling faste-0.2.5:
    Successfully uninstalled faste-0.2.5

  Purge complete!

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用Eclipse Helios for Web项目   java指定行。作为编译器设置的分隔符?   osm映射中带有osmdroid的java标记   java Android ClassNotFoundException在路径:DexPathList上未找到类   java从j2me调用GWT方法   更新到java 8后的aspectj问题   如何仅从根元素java,com提取文本内容。滴虫软件。是的。html   安卓公司。谷歌。火基。数据库DatabaseException:未能转换java类型的值。将字符串改为长字符串   从java中的方法返回arraylist变量   java如果将引用重新分配给同步块内的锁对象,会是什么?   java下载。使用spring mvc的资源文件中的xlsx文件   java Eclipse提供了什么工具来运行Eclipse中未包含的程序?   spring boot Java泛型如何读取传递给泛型方法的类型上的字段或调用方法   Javacard中的javaecdsa签名