通过Anaconda上的一个(极少数可用的)教程,我试过:
$ conda create -n rootclone --clone root
Run Code Online (Sandbox Code Playgroud)
这失败了:
src_prefix: '/home/bir/conda'
dst_prefix: '/home/bir/conda/envs/rootclone'
Packages: 49
Files: 471
An unexpected error has occurred, please consider sending the
following traceback to the conda GitHub issue tracker at:
https://github.com/conda/conda/issues
Include the output of the command 'conda info' in your report.
Traceback (most recent call last):
File "/home/bir/conda/bin/conda", line 5, in <module>
sys.exit(main())
File "/home/bir/conda/lib/python2.7/site-packages/conda/cli/main.py", line 203, in main
args_func(args, p)
File "/home/bir/conda/lib/python2.7/site-packages/conda/cli/main.py", line 208, in args_func
args.func(args, p)
File …Run Code Online (Sandbox Code Playgroud) 如何将包添加到现有的conda环境中?
如果它是我可以使用的python包pip install <package>,但是如果pip不起作用怎么办?
是否足以激活环境并使用conda install <package>?