Addem
Addem

Reputation: 3929

Conda error on update: `conda.core.link:_execute(637): An error occurred while installing package 'None'. AssertionError()`

Today when updating conda via conda update --all it downloads several packages and nearly completes installation but at the end, gives

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(637): An error occurred while installing package 'None'.
AssertionError()
Attempting to roll back.

Rolling back transaction: done

AssertionError()
()

Upvotes: 16

Views: 6969

Answers (2)

iun1x
iun1x

Reputation: 1093

The problem seems to be linked with old packages in the env that are not compatible with the version of the package you are trying to update. Resolved with the following steps:

  1. updated packages in the env with dependencies for spyder 3.3.6
  2. installed lattest vesrion of conda with

    conda install conda

  3. updated spyder with:

    conda update spyder

After that everything was fine for me!

Upvotes: 1

Kris Stern
Kris Stern

Reputation: 1350

The command conda install conda worked for me also when conda install anaconda failed for me. I am not sure why the latter does not work though. Otherwise I would get the ERROR conda.core.link:_execute(637) error.

Upvotes: 3

Related Questions