四、管理环境 如前所述,你可以使用 conda 创建环境以隔离项目。要创建环境,请在终端中使用conda create -n env_name list of packages。在这里,-n env_name设置环境的名称(-n是指名称),而list of packages是要安装在环境中的包的列表。例如,要创建名为my_env的环境并在其中安装 numpy,请键入conda create -...
conda create -n env_name list of packages # 创建一个 Python 2 的环境,同时安装 pandas 包 conda create -n py2 python=2.7 pandas 其中-n 代表 name,env_name 是需要创建的环境名称,list of packages 则是列出在新环境中需要安装的工具包。canda 在安装包的过程会自动解决包的依赖,如上面的命令,canda ...
如前所述,你可以使用 conda 创建环境以隔离项目。要创建环境,请在终端中使用 conda create -n env_name list of packages。在这里,-n env_name 设置环境的名称(-n 是指名称),而 list of packages 是要安装在环境中的包的列表。例如,要创建名为 my_env 的环境并在其中安装 numpy,请键入 conda create -n...
conda create --name <env_name> <list of packages> 创建新环境 conda create --name testpy2 python=2.7 pandas 创建名为testpy2的运行环境,并安装pandas包及其依赖包 conda create --name testpy36 python=3.6 anaconda 创建名为testpy36的运行环境,并安装anaconda集合包(conda默认环境) condaenvremove --n...
package Create low-level conda packages. (EXPERIMENTAL) remove (uninstall) Remove a list of packages from a specified conda environment. rename Rename an existing environment. render Expand a conda recipe into a platform-specific recipe. repo See `conda repo --help`. ...
conda create -n env_name list of packages 其中-n 代表 name,env_name 是需要创建的环境名称,list of packages 则是列出在新环境中需要安装的工具包。 比如我现在的python版本是3.7,但是我想安装一个python 3.6的环境,则在anaconda prompt输入: conda create -n py36 python=3.6 ...
也可以以管理员身份运行Anaconda Prompt(Anaconda)并在命令行输入 conda list 命令,若安装成功则会显示安装盘符和版本信息。 这里再补充下,anaconda安装本地磁盘路径下的部分说明:如envs文件夹是存储虚拟环境的地方、Lib\site-packages文件夹下是存放第三方包的地方 步骤三、 Anaconda的基础使用 这里就不再对Anaconda...
create Create a new conda environment from a list of specified packages. help Displays a list of available conda commands and their help strings. info Display information about current conda install. install Installs a list of packages into a specified conda ...
How do I get a list of package groups used by kickstart and the anaconda installer? Solution Verified- UpdatedAugust 7 2024 at 7:23 AM- English Issue What groups can I use in a kickstart? What Environment Groups are available for installation ...
create Create a new conda environment from a list of specified packages. help Displays a list of available conda commands and their help strings. info Display information about current conda install. init Initialize conda for shell interaction. [Experimental] install Installs a list of packages into...