卸载使用`pip install'安装的软件包. [英] Uninstall a package installed with `pip install .`
本文介绍了卸载使用`pip install'安装的软件包.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从开发存储库安装Python软件包时,我通常会导航到找到setup.py
并执行的地方
When installing Python packages from development repositories, I usually navigate to wherever setup.py
is found and do
pip install .
这会将软件包安装在$HOME/.local/
中.很好.
This installs the package in $HOME/.local/
. Nice.
如何卸载以这种方式安装的软件包?
How can I uninstall a package installed this way?
推荐答案
只需运行pip uninstall package-name
这就是您所需要的.
有关更多信息,请访问此链接: https://pip.pypa.io/en /stable/reference/pip_uninstall/
For more follow this link : https://pip.pypa.io/en/stable/reference/pip_uninstall/
这篇关于卸载使用`pip install'安装的软件包.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文