Uninstall a package installed with `pip install .`

南楼画角 提交于 2020-05-15 10:00:47

问题


When installing Python packages from development repositories, I usually navigate to wherever setup.py is found and do

pip install .

This installs the package in $HOME/.local/. Nice.

How can I uninstall a package installed this way?


回答1:


Simply run pip uninstall package-name

That's all you need.

For more follow this link : https://pip.pypa.io/en/stable/reference/pip_uninstall/



来源:https://stackoverflow.com/questions/48826015/uninstall-a-package-installed-with-pip-install

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!