Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The environment is inconsistent, please check the package plan carefully

Tags:

conda

anaconda

I tried to update or install new packages from anaconda and lately, this message has appeared:

The environment is inconsistent, please check the package plan carefully
The following package are causing the inconsistency:

   - defaults/win-32::anaconda==5.3.1=py37_0

done

I tried with conda clean --all and then conda update --all but it persists.

Conda Info

active environment : base
    active env location : C:\Users\NAME\Continuum
            shell level : 1
       user config file : C:\Users\NAME\.condarc
 populated config files : C:\Users\NAME\.condarc
          conda version : 4.6.11
    conda-build version : 3.17.7
         python version : 3.7.3.final.0
       base environment : C:\Users\NAME\Continuum  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-32
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-32
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-32
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-32
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\NAME\Continuum\pkgs
                          C:\Users\NAME\.conda\pkgs
                          C:\Users\NAME\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\NAME\Continuum\envs
                          C:\Users\NAME\.conda\envs
                          C:\Users\NAME\AppData\Local\conda\conda\envs
               platform : win-32
             user-agent : conda/4.6.11 requests/2.21.0 CPython/3.7.3 Windows/10 Windows/10.0.17763
          administrator : False
             netrc file : None
           offline mode : False
like image 261
Angel Salazar Avatar asked Oct 16 '22 02:10

Angel Salazar


People also ask

How to fix the inconsistent packages in Linux?

The inconsistencies are caused due to different versions of the packages, and their clashing dependencies. This command updates all the packages, and then conda solves the inconsistency on its own.

How do I restore consistency to the environment?

The best method to restore consistency to the environment is conda install the package listed as inconsistent. Review the package plan during this process to make sure nothing inappropiate is being installed. It may be necessary to use conda remove to remote troublesome packages in this process.

Why is my environment so inconsistent after upgrading to Conda?

It is likely that your environment was inconsistent for some time but the upgrade to conda made it visible. The best option it to run "conda install package_name" for the inconsistent packages to let conda try to restore consistency.


2 Answers

I had faced the same problem. Simply running

conda install anaconda

solved the problem for me.

like image 131
mm49307 Avatar answered Oct 17 '22 15:10

mm49307


saw this on Google Groups

This message was added in conda 4.6.9, previously there was no indication when conda detected an inconsistent environment unless conda was run in debug mode. It is likely that your environment was inconsistent for some time but the upgrade to conda made it visible. The best option it to run "conda install package_name" for the inconsistent packages to let conda try to restore consistency.

and it really works for me.

Maybe you should try conda install anaconda in your situation.

like image 73
tys1998 Avatar answered Oct 17 '22 14:10

tys1998