-I, ignore-installed Ignore the installed packages (reinstalling instead).
或者
upgrade-strategy Determines how dependency upgrading should be handled [default: only-if-needed]. "eager" -
dependencies are upgraded regardless of whether the currently
installed version satisfies the requirements of the upgraded
package(s). "only-if-needed" - are upgraded only when they do not
satisfy the requirements of the upgraded package(s).
你可以看看:
或者
从来没想过这个问题,但是 https://pip.pypa.io/en/stable/man/commands/install/?highlight= ignore-installed 可能对你有帮助。在
或者你可以做一个预先设置的脚本来检查一下。在
相关问题 更多 >
编程相关推荐