From 2492645a97aec061a0abbea9e13bfc95e47f2364 Mon Sep 17 00:00:00 2001 From: Ilan Schnell Date: Wed, 14 Oct 2015 10:31:48 -0500 Subject: [PATCH] disallow conda-env to be installed into non-root environment --- conda/plan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda/plan.py b/conda/plan.py index 0c132571047..b9153db9873 100644 --- a/conda/plan.py +++ b/conda/plan.py @@ -425,7 +425,7 @@ def install_actions(prefix, index, specs, force=False, only_names=None, pass else: # disallow conda from being installed into all other environments - if 'conda' in must_have: + if 'conda' in must_have or 'conda-env' in must_have: sys.exit("Error: 'conda' can only be installed into the " "root environment")