gpt4 book ai didi

python - conda 安装和 conda 更新有什么区别?

转载 作者:太空宇宙 更新时间:2023-11-04 09:39:25 28 4
gpt4 key购买 nike

conda install 之间有什么区别?和 conda update ?我浏览了文档,没有发现任何明显的区别。


文档说:

conda 安装:

Conda attempts to install the newest versions of the requested packages. To accomplish this, it may update some packages that are already installed, or install additional packages. To prevent existing packages from updating, use the --no-update-deps option. This may force conda to install older versions of the requested packages, and it does not prevent additional dependency packages from being installed.

来自 conda 更新:

Conda attempts to install the newest versions of the requested packages. To accomplish this, it may update some packages that are already installed, or install additional packages. To prevent existing packages from updating, use the --no-update-deps option. This may force conda to install older versions of the requested packages, and it does not prevent additional dependency packages from being installed.

最佳答案

这正是您提供的文档所说的。对于 conda 安装:

Installs a list of packages into a specified conda environment.

对于 conda 更新:

Updates conda packages to the latest compatible version.

关于python - conda 安装和 conda 更新有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52226942/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com