========== 备忘单 ========== Cheatsheet .. tab:: 中文 conda 备忘单包含有关使用 conda 的最重要的信息,例如创建和管理环境、安装包以及导入和导出环境的基本命令。 请参阅 :download:`conda cheatsheet <conda-cheatsheet.pdf>` PDF(3 MB)以获取可下载的单页版本。 **版本** .. tab:: 英文 The conda cheatsheet contains the most important information about using conda, such as basic commands for creating and managing environments, installing packages, and importing and exporting environments. See the :download:`conda cheatsheet <conda-cheatsheet.pdf>` PDF (3 MB) for a downloadable, single-page version. **Versions** .. Maintainers! When updating the following list, please make sure to update the filesystem symlink "conda-cheatsheet.pdf" to the latest version as well, to keep the URL of the conda cheetsheet the same. Thank you! - :download:`conda 24.4.0 <cheatsheets/conda-24.4.0.pdf>` (latest) - :download:`conda 4.14.x <cheatsheets/conda-4.14.pdf>` - :download:`conda 4.12.x <cheatsheets/conda-4.12.pdf>` - :download:`conda 4.6.x <cheatsheets/conda-4.6.pdf>` 快速入门 ========== Quickstart .. tab:: 中文 .. tip:: 建议为任何新项目或工作流程创建一个新环境。 .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/quickstart.csv .. tab:: 英文 .. tip:: It is recommended to create a new environment for any new project or workflow. .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/quickstart.csv 渠道和软件包 ===================== Channels and Packages .. tab:: 中文 .. tip:: 使用 conda 时会自动解析包依赖关系和平台细节。 .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/channels-and-packages.csv .. tab:: 英文 .. tip:: Package dependencies and platform specifics are automatically resolved when using conda. .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/channels-and-packages.csv 使用 Conda 环境 =============================== Working with Conda Environments .. tab:: 中文 .. tab:: 英文 .. tip:: 在会话开始时列出环境。标有星号的环境表示处于活动状态。 .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/working-with-environments.csv 环境管理 ====================== Environment Management .. tab:: 中文 .. tip:: 指定环境名称将 conda 命令限制在该环境中。 .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/environment-management.csv .. tab:: 英文 .. tip:: Specifying the environment name confines conda commands to that environment. .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/environment-management.csv 导出环境 ====================== Exporting Environments .. tab:: 中文 .. tip:: 根据您的环境命名导出文件以保留您的环境名称。 .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/exporting-environments.csv .. tab:: 英文 .. tip:: Name your export file after your environment to preserve your environment name. .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/exporting-environments.csv 导入环境 ====================== Importing Environments .. tab:: 中文 .. tip:: 导入环境时,conda 会解析平台和包的具体信息。 .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/importing-environments.csv .. tab:: 英文 .. tip:: When importing an environment, conda resolves platform and package specifics. .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/importing-environments.csv 其他提示 ================ Additional Hints .. tab:: 中文 .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/additional-hints.csv .. tab:: 英文 .. csv-table:: :widths: 42 58 :header-rows: 0 :file: cheatsheets/additional-hints.csv