conda env 创建失败?
conda env create failed?
我试图为 anaconda 安装创建一个新环境,我想将其与原始安装区分开来。我发现这不起作用:
$ conda env create --name pandas018numpy111 pandas018test1
Using Anaconda Cloud api site https://api.anaconda.org
Error: Invalid name, try the format: user/package
pandas018test1 does not exist or can't be accessed
environment.yml file not found
There is no requirements.txt
这里有什么问题?
我想完成的是创建原始环境的副本,添加一些用于测试的模块,然后扔掉测试环境(pandas018numpy111)。
啊,我找到答案了。
我需要的是conda create
命令,其实,
$ conda create -n pandas018numpy111 --clone root
那我还有一次性环境要修改等等,以后就直接折腾了。要切换,我将只使用:
$ source activate pandas018numpy111
并退出此环境,
$ source deactivate
我试图为 anaconda 安装创建一个新环境,我想将其与原始安装区分开来。我发现这不起作用:
$ conda env create --name pandas018numpy111 pandas018test1
Using Anaconda Cloud api site https://api.anaconda.org
Error: Invalid name, try the format: user/package
pandas018test1 does not exist or can't be accessed
environment.yml file not found
There is no requirements.txt
这里有什么问题?
我想完成的是创建原始环境的副本,添加一些用于测试的模块,然后扔掉测试环境(pandas018numpy111)。
啊,我找到答案了。
我需要的是conda create
命令,其实,
$ conda create -n pandas018numpy111 --clone root
那我还有一次性环境要修改等等,以后就直接折腾了。要切换,我将只使用:
$ source activate pandas018numpy111
并退出此环境,
$ source deactivate