用户登录
用户注册

分享至

创建空的 conda 环境

  • 作者: 吾乃常山老实人
  • 来源: 51数据库
  • 2022-11-01

问题描述

我可以使用程序 biopython 创建一个新的 conda 环境:

I can create a new conda environment, with program biopython with this:

conda create --name snowflakes biopython

如果我不想安装任何程序怎么办?看来我做不到:

What if I do not want to install any program? It seems I can not do that:

? conda create --name tryout
Error: too few arguments, must supply command line package specs or --file

You can specify one or more default packages to install when creating
an environment.  Doing so allows you to call conda create without
explicitly providing any package names.

To set the provided packages, call conda config like this:

    conda config --add create_default_packages PACKAGE_NAME

推荐答案

你可以给一个包名只是python"来获得一个基本的空安装.

You can give a package name of just "python" to get a base, empty install.

conda create --name myenv python
conda create --name myenv python=3.4
软件
前端设计
程序设计
Java相关