从Anaconda2-2.5.0-MacOSX-x86_64和conda update conda
安装anaconda for python2之后
$ conda --version
conda 4.0.0
我正在通过test drive并偶然发现
$ conda create --name flowers --clone snowflakes
因为这样失败了:
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ....
src_prefix: '/Users/flaschbier/anaconda/envs/snowflakes'
dst_prefix: '/Users/flaschbier/anaconda/envs/flowers'
Packages: 12
Files: 0
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 "/Users/flaschbier/anaconda/bin/conda", line 6, in <module>
sys.exit(main())
File "/Users/flaschbier/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 139, in main
args_func(args, p)
File "/Users/flaschbier/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 146, in args_func
args.func(args, p)
File "/Users/flaschbier/anaconda/lib/python2.7/site-packages/conda/cli/main_create.py", line 49, in execute
install.install(args, parser, 'create')
File "/Users/flaschbier/anaconda/lib/python2.7/site-packages/conda/cli/install.py", line 247, in install
clone(args.clone, prefix, json=args.json, quiet=args.quiet, index=index)
File "/Users/flaschbier/anaconda/lib/python2.7/site-packages/conda/cli/install.py", line 84, in clone
quiet=quiet, index=index)
File "/Users/flaschbier/anaconda/lib/python2.7/site-packages/conda/misc.py", line 243, in clone_env
sorted_dists = r.dependency_sort(dists)
File "/Users/flaschbier/anaconda/lib/python2.7/site-packages/conda/resolve.py", line 716, in dependency_sort
for key, value in iteritems(must_have):
File "/Users/flaschbier/anaconda/lib/python2.7/site-packages/conda/compat.py", line 157, in iteritems
return iter(getattr(d, _iteritems)())
AttributeError: 'list' object has no attribute 'iteritems'
(bunnies)yosi:anaconda flaschbier$
我做错了什么?
答案 0 :(得分:1)