The environment is inconsistent, please check the package plan carefully

前端 未结 10 1541
忘了有多久
忘了有多久 2020-11-28 02:29

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         


        
相关标签:
10条回答
  • 2020-11-28 03:01

    Ultimate solutions:

    conda activate base
    conda install anaconda
    conda update --all
    

    Works on Windows 10 and Ubuntu 18.04 (credits to @MF.OX for ubuntu).

    Removed following problems for me:

    • The environment is inconsistent
    • WARNING conda.base.context:use_only_tar_bz2(632)
    0 讨论(0)
  • 2020-11-28 03:01

    You probably installed anaconda with python 2.7 but later you used python 3.x. Thus, you are getting an error message. In my case, I solved the problem by activating anaconda with python 2.7:

    conda create --name py2 python=2.7
    
    0 讨论(0)
  • 2020-11-28 03:06

    The inconsistencies are caused due to different versions of the packages, and their clashing dependencies.

    conda update --all
    

    This command updates all the packages, and then conda solves the inconsistency on its own.

    0 讨论(0)
  • 2020-11-28 03:06

    Had this same problem and none of the other solutions worked for me. Ended up having to uninstall and reinstall conda, then reinstall all of my libraries.

    0 讨论(0)
提交回复
热议问题