I've tried to update conda using the following command :
~$ conda update conda
It outputs the following message:
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only
using the old .tar.bz2 file format because you have conda-build installed,
and it is <3.18.3. Update or remove conda-build to get smaller downloads
and faster extractions.
Collecting package metadata (repodata.json): done
Solving environment: -
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/linux-64::cytoolz==0.9.0.1=py37h14c3975_1
- and around 100 more
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()
I have also tried
~$ conda update --all
but it gave me the same error as before.
I had the same error, and I use miniconda, so I don't want to install anaconda. It worked for me to update python from 3.6 to 3.7 as follows:
$ conda install python=3.7
When I did this, conda updated automatically to the latest version.
Regarding this matter i have found a solution that is not well explained but solve the problem:
first : using the command :
~$ conda install anaconda
this resolve the problem of the environment inconsistency .
second : using the command:
~$ conda update conda
the command will be executed with no problems and conda will be updated proberly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With