开发者社区 问答 正文

python 怎么卸载模块

python 怎么卸载模块

展开
收起
云计算小粉 2018-05-10 20:10:59 2220 分享 版权
2 条回答
写回答
取消 提交回答
  • pip uninstall 包名

    2019-11-28 16:41:30
    赞同 展开评论
  • 卸载模块

    1).如果是用pip安装的,可以直接使用pip uninstall 模块名

    2).如果是用python setup.py install安装,使用python setup.py uninstall来卸载

    例如:pip uninstall pyserial

    2019-07-17 22:24:25
    赞同 展开评论
问答分类:
问答标签:
问答地址: