conda install和conda update有什么区别? [英] What is the difference between conda install and conda update?

查看:246
本文介绍了conda install和conda update有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

conda install conda更新 ?我浏览了文档,没有发现任何明显的区别.

What is the difference between conda install and conda update? I've skimmed through the documentation and I don't see any obvious difference.

文档说:

conda install :

Conda尝试安装所请求的最新版本包.为此,它可能会更新一些软件包,已经安装,或安装其他软件包.要阻止现有软件包的更新,请使用--no-update-deps选项.这可能会迫使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尝试安装所请求的最新版本包.为此,它可能会更新一些软件包,已经安装,或安装其他软件包.要阻止现有软件包的更新,请使用--no-update-deps选项.这可能会迫使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安装:

It's exactly what the documentation you provided says. For conda install:

将软件包列表安装到指定的conda环境中.

Installs a list of packages into a specified conda environment.

并进行conda更新:

and for conda update:

将conda软件包更新为最新的兼容版本.

Updates conda packages to the latest compatible version.

这篇关于conda install和conda update有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆