Is there any danger of e.g., causing conflicts using the --ignore-installed flag for pip?

北慕城南 提交于 2019-12-22 18:27:42

问题


I am having trouble finding good documentation for pip's --ignore-installed flag. pip install --help says simply:

Ignore the installed packages (reinstalling instead).

Other than the side effect of there being more cruft on your system, since installed packages will not be uninstalled when e.g., upgrading, are there any other known side effects? Is it possible for conflicts to arise with both packages installed? Will the newer package always "win", or is there a danger of accidentally using the old package without knowing it?

I have a situation that calls for me to potentially use this flag, ignoring a number of previously installed packages (because pip version 10 no longer uninstalls packages installed by distutils, but I want to make sure I am not potentially shooting myself in the foot. Thank you!

来源:https://stackoverflow.com/questions/49932926/is-there-any-danger-of-e-g-causing-conflicts-using-the-ignore-installed-flag

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