• anaconda使用系列教程--2)conda命令选项


    查看帮助:

    conda -h

    显示如下:

    usage: conda-script.py [-h] [-V] command ...

    conda is a tool for managing and deploying applications, environments and packages.

    Options:

    positional arguments:

      command

        info         Display information about current conda install.

        help         Displays a list of available conda commands and their help

                     strings.

        list          List linked packages in a conda environment.

        search       Search for packages and display their information. The input

                     is a Python regular expression. To perform a search with a

                     search string that starts with a -, separate the search from

                     the options with --, like 'conda search -- -h'. A * in the

                     results means that package is installed in the current

                     environment. A . means that package is not installed but is

                     cached in the pkgs directory.

        create        Create a new conda environment from a list of specified

                     packages.

        install        Installs a list of packages into a specified conda

                     environment.

        update       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 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. If you wish to skip dependency

                     checking altogether, use the '--force' option. This may

                     result in an environment with incompatible packages, so this

                     option must be used with great caution.

        upgrade      Alias for conda update. See conda update --help.

        remove       Remove a list of packages from a specified conda environment.

        uninstall      Alias for conda remove. See conda remove --help.

        config        Modify configuration values in .condarc. This is modeled

                     after the git config command. Writes to the user .condarc

                     file (C:\Users\taosheng\.condarc) by default.

        clean         Remove unused packages and caches.

        package       Low-level conda package utility. (EXPERIMENTAL)

    optional arguments:

      -h, --help      Show this help message and exit.

      -V, --version    Show the conda version number and exit.

    截图如下: 

  • 相关阅读:
    谷歌Bard更新!会有哪些体验升级?
    【API篇】四、Flink物理分区算子API
    Springboot使用webupload大文件分片上传(包含前后端源码)
    Java操作Zookeeper框架
    【OSS】服务端签名后直传实现阿里云存储上传文件
    一、C#—概述环境安装(1)
    使用numpy计算分子内坐标
    【数据结构】二叉树
    Python Web开发一:Web开发简介
    2023年全球市场蓝宝石基AlN模板总体规模、主要生产商、主要地区、产品和应用细分研究报告
  • 原文地址:https://blog.csdn.net/wugou2014/article/details/128171798