[英]Python pip package installation
What's the difference between pip install pkg_name
and pip install -U pkg_name
? pip install pkg_name
和pip install -U pkg_name
什么区别?
Does it automatically install the dependencies too or something?它是否也会自动安装依赖项?
If we do pip install -h
we see:如果我们执行pip install -h
我们会看到:
-U, --upgrade Upgrade all specified packages to the newest
available version.
So it upgrades the packages you specify (they can be already installed)所以它升级你指定的包(它们可以已经安装)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.