blastnomad.blogg.se

Conda install package inconsistent
Conda install package inconsistent













conda install package inconsistent
  1. CONDA INSTALL PACKAGE INCONSISTENT UPDATE
  2. CONDA INSTALL PACKAGE INCONSISTENT WINDOWS
conda install package inconsistent

Then, in python, process this: exclusions = for line in exclusion_text_lines if line !='']īad_packages_lines = bad_packages_text.split('\n')īad_packages =. and more! get this by copy-pasting the "The following packages are causing the inconsistency." message. defaults/noarch::jupyterlab_server=1.1.4=py_0 Note the usage of triple quotes (''') to use a multiline-string in python. and more! get this from a good environment. use the following snippet to generate a conda command that will remove all the inconsistent packages:.Make a fresh envinroment with python, fairly bare-bone.Remove all the unneeded packages - being careful to leave the ones that are essential for conda to operate.Here is a solution that worked for me in under 5 minutes: The conda install anaconda might work, but it takes just way too long - more than 24 hours on my machine. *findall(r"^\s*-\s*(\S+)$", stdin.read(), MULTILINE) # Here are the offenders "-force", # Maybe add a '-force'/'-force-reinstall' (I didn't add it for the one-liner above) Note: by "ORIGINAL_COMMAND", I'm referring to any command that gives you the error message (without any other side-effects, ideally) 2>&1 | python -c "import sys,re,conda.cli ('conda','install','-y',*re.findall(r'^\s*-\s*(\S+)$',(),re.MULTILINE))"Įxpanding the above one-liner: from re import findall, MULTILINE

CONDA INSTALL PACKAGE INCONSISTENT WINDOWS

(and you would have to repeat for all the packages) My “Shortcut”Īlternatively, cook up an (ugly) one-liner (this should work for Windows as well as other platforms) The following NEW packages will be INSTALLED: Thus, with a few copy-&-paste's, you could: > conda install intel/win-64::ipython=6.3.1=p圓6_3 intel/win-64::prompt_toolkit=1.0.15=p圓6_2Īs mentioned in other answers, the idea is to have some sort of re- installation to occur for the inconsistent packages. The following packages are causing the inconsistency: The environment is inconsistent, please check the package plan carefully

CONDA INSTALL PACKAGE INCONSISTENT UPDATE

Given a situation like the following, > conda update -c intel -all Package cache : C:\Users\NAME\Continuum\pkgsĬ:\Users\NAME\AppData\Local\conda\conda\pkgsĮnvs directories : C:\Users\NAME\Continuum\envsĬ:\Users\NAME\AppData\Local\conda\conda\envs Populated config files : C:\Users\NAME\.condarcīase environment : C:\Users\NAME\Continuum (writable) User config file : C:\Users\NAME\.condarc I tried with conda clean -all and then conda update -all but it persists.Īctive env location : C:\Users\NAME\Continuum The following package are causing the inconsistency: 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















Conda install package inconsistent