Inconsistent Anaconda root env after failed Python 3.5 update

Viewed 5032

I recently tried to update the root environment of my Anaconda install from Python 3.4 to Python 3.5 by using the command

conda install python=3.5

After doing that, I ran

conda update --all python=3.5

hoping it would update all other packages to Python 3.5 versions, but it fails with the error message below: (note that I omitted many packages in the middle of this list)

The following specifications were found to be in conflict:
  - backports_abc -> python 2.7*|3.4*
  - certifi -> python 2.7*|3.4*
  - colorama -> python 2.7*|3.4*|3.5*
  - conda -> python 2.7*|3.4*|3.5*
  - conda-env -> python 2.7*|3.4*
  - decorator -> python 2.7*|3.4*
  - django -> python 2.7*|3.4*
  - ecdsa -> python 2.7*|3.4*
  - flask -> python 2.7*|3.4*
  - greenlet -> python 2.6*|2.7*|3.3*|3.4*|3.5*
  - ipykernel -> python 2.7*|3.4*

[...many more...] 

  - simplegeneric -> python 2.7*|3.4*|3.5*
  - six -> python 2.7*|3.4*
  - werkzeug -> python 2.7*|3.4*
  - wheel -> python 2.7*|3.4*
Use "conda info <package>" to see the dependencies for each package.

It seems that I've now screwed up my root environment. I'd like to just uninstall all the packages in it, but the command

conda uninstall --all

just complains:

Error: cannot remove current environment. deactivate and run conda remove again

(of course I cannot deactivate my environment since I'm in the root environment already.)

So, is there any way to easily clean up the root environment? Or, is there a way to correctly update all packages for Python 3.5?

Edit (5/10/2016)

I forgot to mention originally that the system I'm running on is Mac OS X 10.11 (El Capitan).

3 Answers
Related