更新conda时环境不一致错误

我正在尝试在Anaconda上安装软件包,并且不断出现环境不一致的错误。我已经尝试过此post中的所有解决方案(我在这里列出了它们),但错误仍然相同:

1)更新conda失败:

conda update --all

2)安装anaconda失败:

 conda install anaconda

3)此失败:

conda activate base
conda install anaconda
conda update --all

4)这也失败了:

conda install -c anaconda anaconda

我还尝试过更新导致不一致的单个程序包,例如,我尝试过:

conda update seaborn 

在所有情况下,我都会遇到以下错误:

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/osx-64::scikit-learn==0.19.2=py37h4f467ca_0
      - defaults/osx-64::spyder==3.3.1=py37_1
      - defaults/osx-64::statsmodels==0.9.0=py37h1d22016_0
      - defaults/osx-64::anaconda-project==0.8.2=py37_0
      - defaults/osx-64::scipy==1.1.0=py37h28f7352_1
      - defaults/osx-64::patsy==0.5.0=py37_0
      - defaults/osx-64::anaconda-navigator==1.9.7=py37_0
      - defaults/osx-64::anaconda==5.3.1=py37_0
      - defaults/osx-64::pytables==3.4.4=py37h13cba08_0
      - defaults/osx-64::seaborn==0.9.0=py37_0
      - defaults/osx-64::scikit-image==0.14.0=py37h0a44026_1
      - defaults/osx-64::numexpr==2.6.8=py37h1dc9127_0
      - defaults/osx-64::anaconda-client==1.7.2=py37_0
      - defaults/osx-64::sphinx==1.7.9=py37_0
      - defaults/osx-64::mkl-service==1.1.2=py37h6b9c3cc_5
      - defaults/osx-64::conda==4.7.10=py37_0
      - defaults/osx-64::blaze==0.11.3=py37_0
      - defaults/osx-64::numpydoc==0.8.0=py37_0
      - defaults/osx-64::conda-build==3.15.1=py37_0

然后我尝试了以下操作:

pip uninstall setuptools
conda install -c anaconda setuptools

当我终于厌倦了更新conda(conda update --all)时,再次出现不一致的错误,如下所示:

The following packages are causing the inconsistency:

  - anaconda/osx-64::numba==0.46.0=py37h6440ff4_0
  - anaconda/osx-64::_anaconda_depends==2019.03=py37_0
  - anaconda/osx-64::blaze==0.11.3=py37_0
  - anaconda/osx-64::anaconda==custom=py37_1
failed
Solving environment: / 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining setuptools:   4%|▋                | 14/379 [00:00<00:00,12928.28it| ]
Comparing specs that have this dependency:   0%|         | 0/14 [00:00<?,?it/s]
Finding shortest conflict path for setuptools:  50%|▌| 1/2 [00:05<00:05,5.54s/Finding shortest conflict path for setuptools: 100%|█| 2/2 [00:05<00:00,2.7- /C\ paring specs that have this dependency:   7%| | 1/14 [00:05<01:12,5.60s/it]F/ ding shortest conflict path for setuptools:  20%|▏| 1/5 [00:00<00:00,4.16itFinding shortest conflict path for setuptools:  40%|▍| 2/5 [00:00<00:00,8.33it/s]

已经2个小时了,进度百分比没有变化。

以下是我系统上的信息:

macOS Mojave (version 10.14.6)

$ python
Python 3.7.5 (default,Oct 25 2019,10:52:18) 
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda,Inc. on darwin
yx118226 回答:更新conda时环境不一致错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3135468.html

大家都在问