Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda create --name <> --clone <> returns unexpected error #2192

Closed
k-dinesh opened this issue Mar 7, 2016 · 4 comments
Closed

Conda create --name <> --clone <> returns unexpected error #2192

k-dinesh opened this issue Mar 7, 2016 · 4 comments
Labels
locked [bot] locked due to inactivity

Comments

@k-dinesh
Copy link

k-dinesh commented Mar 7, 2016

Traceback (most recent call last):
File "/Users/Palace/anaconda/bin/conda", line 6, in
sys.exit(main())
File "/Users/Palace/anaconda/lib/python3.5/site-packages/conda/cli/main.py", line 139, in main
args_func(args, p)
File "/Users/Palace/anaconda/lib/python3.5/site-packages/conda/cli/main.py", line 146, in args_func
args.func(args, p)
File "/Users/Palace/anaconda/lib/python3.5/site-packages/conda/cli/main_create.py", line 49, in execute
install.install(args, parser, 'create')
File "/Users/Palace/anaconda/lib/python3.5/site-packages/conda/cli/install.py", line 247, in install
clone(args.clone, prefix, json=args.json, quiet=args.quiet, index=index)
File "/Users/Palace/anaconda/lib/python3.5/site-packages/conda/cli/install.py", line 84, in clone
quiet=quiet, index=index)
File "/Users/Palace/anaconda/lib/python3.5/site-packages/conda/misc.py", line 243, in clone_env
sorted_dists = r.dependency_sort(dists)
File "/Users/Palace/anaconda/lib/python3.5/site-packages/conda/resolve.py", line 716, in dependency_sort
for key, value in iteritems(must_have):
File "/Users/Palace/anaconda/lib/python3.5/site-packages/conda/compat.py", line 157, in iteritems
return iter(getattr(d, _iteritems)())
AttributeError: 'list' object has no attribute 'items'

conda --info
Using Anaconda Cloud api site https://api.anaconda.org
Current conda install:

         platform : osx-64
    conda version : 4.0.1

conda-build version : 1.19.0
python version : 3.5.1.final.0
requests version : 2.9.1
root environment : /Users/Palace/anaconda (writable)
default environment : /Users/Palace/anaconda
envs directories : /Users/Palace/anaconda/envs
package cache : /Users/Palace/anaconda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/osx-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/osx-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
is foreign system : False

@mcg1969
Copy link
Contributor

mcg1969 commented Mar 7, 2016

Duplicate of #2178. I've got a fix in preparation.

@mcg1969
Copy link
Contributor

mcg1969 commented Mar 8, 2016

Fix here: #2193

@kalefranz
Copy link
Contributor

Should be fixed with today's 4.0.2 release.

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Nov 25, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

No branches or pull requests

3 participants