conda update

NAME
conda - conda update

DESCRIPTION
usage: conda update [-h] [-y] [--dry-run] [-f] [--file FILE]
[--no-deps]

   [--only-deps] [-m] [-C] [--use-local] [--offline]
          [--no-pin] [-c CHANNEL] [--override-channels] [-n ENVIRONMENT  |
          -p    PATH]    [-q]    [--copy]   [-k]   [--update-dependencies]
          [--no-update-dependencies]   [--channel-priority]    [--no-chan‐
          nel-priority] [--clobber] [--show-channel-urls] [--no-show-chan‐
          nel-urls]  [--download-only]  [--json]   [--debug]   [--verbose]
          [--all] [package_spec [package_spec ...]]

   Updates conda packages to the latest compatible version.

          This command accepts a list of package names and updates them to
          the latest versions that are compatible with all other  packages
          in the environment.

          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 pre‐
          vent 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  depen‐
          dency packages from being installed.

          If  you  wish  to  skip  dependency checking altogether, use the
          '--force' option. This may result in an environment with  incom‐
          patible  packages,  so  this option must be used with great cau‐
          tion.

OPTIONS
positional arguments:
package_spec
Packages to install or update in the conda environment.

optional arguments:
-h, --help
Show this help message and exit.

   -y, --yes
          Do not ask for confirmation.

   --dry-run
          Only display what would have been done.

   -f, --force
          Force install (even when package already installed).

   --file FILE
          Read package versions from the given file. Repeated file  speci‐
          fications can be passed (e.g. --file=file1 --file=file2).

   --no-deps
          Do  not  install,  update,  remove, or change dependencies. This
          WILL lead to broken environments and inconsistent behavior.  Use
          at your own risk.

   --only-deps
          Only install dependencies.

   -m, --mkdir
          Create the environment directory if necessary.

   -C, --use-index-cache
          Use cache of channel index files, even if it has expired.

   --use-local
          Use locally built packages.

   --offline
          Offline mode, don't connect to the Internet.

   --no-pin
          Ignore pinned file.

   -c CHANNEL, --channel CHANNEL
          Additional  channel  to  search  for  packages.  These  are URLs
          searched in the order they  are  given  (including  file://  for
          local directories). Then, the defaults or channels from .condarc
          are searched (unless --override-channels is given). You can  use
          'defaults'  to  get the default packages for conda, and 'system'
          to get the system  packages,  which  also  takes  .condarc  into
          account.  You  can  also  use  any  name  and the .condarc chan‐
          nel_alias value will be prepended. The default channel_alias  is
          http://conda.anaconda.org/.

   --override-channels
          Do not search default or .condarc channels. Requires --channel.

   -n ENVIRONMENT, --name ENVIRONMENT
          Name of environment.

   -p PATH, --prefix PATH
          Full path to environment prefix.

   -q, --quiet
          Do not display progress bar.

   --copy Install all packages using copies instead of hard- or soft-link‐
          ing.

   -k, --insecure
          Allow conda to perform "insecure" SSL connections and transfers.
          Equivalent to setting 'ssl_verify' to 'false'.

   --update-dependencies, --update-deps
          Update  dependencies. Overrides the value given by `conda config
          --show update_deps`.

   --no-update-dependencies, --no-update-deps
          Don't update dependencies. Overrides the value given  by  `conda
          config --show update_deps`.

   --channel-priority, --channel-pri, --chan-pri
          Channel  priority  takes  precedence over package version. Over‐
          rides the value given by `conda config --show channel_priority`.

   --no-channel-priority, --no-channel-pri, --no-chan-pri
          Package version takes precedence over  channel  priority.  Over‐
          rides the value given by `conda config --show channel_priority`.

   --clobber
          Allow  clobbering of overlapping file paths within packages, and
          suppress related warnings.

   --show-channel-urls
          Show channel urls. Overrides the value given  by  `conda  config
          --show show_channel_urls`.

   --no-show-channel-urls
          Don't  show  channel  urls.  Overrides the value given by `conda
          config --show show_channel_urls`.

   --download-only
          Solve an environment and ensure package  caches  are  populated,
          but  exit  prior to unlinking and linking packages into the pre‐
          fix.

   --json Report all output as json. Suitable for using conda programmati‐
          cally.

   --debug
          Show debug output.

   --verbose, -v
          Use once for info, twice for debug, three times for trace.

   --all  Update all installed packages in the environment.

EXAMPLES
conda update -n myenv scipy

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 212,029评论 6 492
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,395评论 3 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 157,570评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,535评论 1 284
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,650评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 49,850评论 1 290
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,006评论 3 408
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,747评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,207评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,536评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,683评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,342评论 4 330
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,964评论 3 315
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,772评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,004评论 1 266
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,401评论 2 360
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,566评论 2 349

推荐阅读更多精彩内容

  • Lua 5.1 参考手册 by Roberto Ierusalimschy, Luiz Henrique de F...
    苏黎九歌阅读 13,764评论 0 38
  • 在Python中令人最令人头疼的问题之一就是Python版本的问题,Python 2.7 和Python 3....
    Harbourne阅读 930评论 0 2
  • 1 儿时的记忆渐渐模糊,偶有想起已是断断续续的片断。作为家中的老大,大人也是非常珍贵宝贝,以至于家里从上...
    得来曾有阅读 583评论 0 5
  • 要不是她看到公交车路过时,车窗玻璃反射出自己的影子,那一头潦草的枯发实在无颜见人,她也不会意识到自己的头发早已陷入...
    痒痒Juliet阅读 481评论 0 1
  • 1. 今天在艺馨的天赋生涯群里,玩了一个小游戏。 刚开始她让我们听了一段音乐,然后让我们听到有感觉的时候就敲出1-...
    红叶2阅读 355评论 0 1