更新软件包时出现“环境不一致”错误

时间:2020-02-11 22:06:07

标签: anaconda conda

我最近需要更新SciPy并遇到错误,指出“环境不一致”。 this topic中对该问题进行了详细描述,但是我尝试了该线程中建议的所有解决方案,但均无济于事。我的工作和结果与this topic中OP中描述的工作和结果相同,不同之处在于,我也尝试恢复到原始主题中建议的以前的修订,以再次使用。但是,尽管更新过程似乎像第一篇文章末尾提到的this topic中的OP那样挂起,但它最终确实完成了,所以我有关于此错误的新信息。这是我终端的完整输出:

conda update --all
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:

  - conda-forge/osx-64::python==2.7.15=hd51d24c_1009
  - https://repo.continuum.io/pkgs/free/osx-64::xlrd==0.9.4=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pycparser==2.14=py27_0
  - conda-forge/osx-64::imagemagick==7.0.8_60=pl526he2cbc91_0
  - https://repo.continuum.io/pkgs/free/osx-64::cython==0.23.4=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::pyflakes==1.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::fastcache==1.0.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::simplegeneric==0.8.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::jsonschema==2.4.0=py27_0
  - conda-forge/osx-64::pyyaml==3.12=py27_0
  - conda-forge/osx-64::certifi==2019.6.16=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::scipy==0.17.0=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pycurl==7.19.5.3=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::py==1.4.31=py27_0
  - conda-forge/osx-64::pyopenssl==16.2.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::bottleneck==1.0.0=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::terminado==0.5=py27_1
  - conda-forge/osx-64::pysocks==1.7.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::qtawesome==0.3.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pyqt==4.11.4=py27_1
  - conda-forge/osx-64::librsvg==2.44.14=h90c2430_2
  - https://repo.continuum.io/pkgs/free/osx-64::datashape==0.5.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::qtpy==1.0=py27_0
  - conda-forge/osx-64::ruamel_yaml==0.15.71=py27h1de35cc_1000
  - https://repo.continuum.io/pkgs/free/osx-64::anaconda-navigator==1.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::odo==0.4.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::networkx==1.11=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::wheel==0.29.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::path.py==8.1.2=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::nbformat==4.0.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::futures==3.0.3=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::sip==4.16.9=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::dill==0.2.4=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::cloudpickle==0.1.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::spyder==2.3.8=py27_1
  - conda-forge/osx-64::setuptools==31.0.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::heapdict==1.0.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::dask==0.8.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::conda-build==1.20.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::nose==1.3.7=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::jupyter==1.0.0=py27_2
  - https://repo.continuum.io/pkgs/free/osx-64::numba==0.24.0=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::ipykernel==4.3.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pexpect==4.0.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::conda-manager==0.3.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::jedi==0.9.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::jdcal==1.2=py27_0
  - conda-forge/osx-64::conda-package-handling==1.4.1=py27_0
  - conda-forge/osx-64::urllib3==1.25.3=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::babel==2.2.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::numexpr==2.5=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::notebook==4.1.0=py27_2
  - https://repo.continuum.io/pkgs/free/osx-64::alabaster==0.7.7=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::tornado==4.3=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::clyent==1.2.1=py27_0
  - conda-forge/osx-64::python-libarchive-c==2.8=py27_1004
  - https://repo.continuum.io/pkgs/free/osx-64::anaconda==4.0.0=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pickleshare==0.5=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::colorama==0.3.7=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::appnope==0.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::statsmodels==0.6.1=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::greenlet==0.4.9=py27_0
  - conda-forge/osx-64::cryptography==2.5=py27hc2b1221_1
  - https://repo.continuum.io/pkgs/free/osx-64::six==1.10.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::jupyter_console==4.1.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pyasn1==0.1.9=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::ipython_genutils==0.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pytables==3.2.2=np110py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::beautifulsoup4==4.4.1=py27_0
  - conda-forge/osx-64::asn1crypto==0.24.0=py27_1003
  - https://repo.continuum.io/pkgs/free/osx-64::python.app==1.2=py27_4
  - https://repo.continuum.io/pkgs/free/osx-64::anaconda-client==1.4.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::openpyxl==2.3.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::ptyprocess==0.5=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::traitlets==4.2.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::snowballstemmer==1.2.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::werkzeug==0.11.4=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::multipledispatch==0.4.8=py27_0
  - conda-forge/noarch::tqdm==4.33.0=py_0
  - https://repo.continuum.io/pkgs/free/osx-64::singledispatch==3.4.0.3=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::partd==0.3.2=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::ipywidgets==4.1.1=py27_0
  - conda-forge/osx-64::chardet==3.0.4=py27_1003
  - https://repo.continuum.io/pkgs/free/osx-64::scikit-learn==0.17.1=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::jupyter_client==4.2.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::redis-py==2.10.3=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::decorator==4.0.9=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::configobj==5.0.6=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::libxslt==1.1.28=2
  - https://repo.continuum.io/pkgs/free/osx-64::ssl_match_hostname==3.4.0.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::cycler==0.10.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::mpmath==0.19=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::unicodecsv==0.14.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::ipython==4.1.2=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::pytz==2016.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::curl==7.45.0=0
  - https://repo.continuum.io/pkgs/free/osx-64::cytoolz==0.7.5=py27_0
  - conda-forge/osx-64::pycosat==0.6.3=py27_0
  - conda-forge/osx-64::cffi==1.7.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::sqlalchemy==1.0.12=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pyparsing==2.0.3=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::patsy==0.4.0=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::et_xmlfile==1.0.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::sphinx_rtd_theme==0.1.9=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::ply==3.8=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::nltk==3.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::locket==0.2.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::enum34==1.1.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::toolz==0.7.4=py27_0
  - conda-forge/osx-64::gdk-pixbuf==2.36.12=h284f8de_1003
  - https://repo.continuum.io/pkgs/free/osx-64::pygments==2.1.1=py27_0
  - conda-forge/osx-64::idna==2.5=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::qtconsole==4.2.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pillow==3.1.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::jinja2==2.8=py27_0
  - conda-forge/osx-64::gobject-introspection==1.56.1=py27h64a7abb_1002
  - https://repo.continuum.io/pkgs/free/osx-64::python-dateutil==2.5.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::psutil==4.1.0=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::nbconvert==4.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::mistune==0.7.2=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::h5py==2.5.0=np110py27_4
  - https://repo.continuum.io/pkgs/free/osx-64::sockjs-tornado==1.0.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::xlwings==0.7.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::docutils==0.12=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pandas==0.18.0=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::jupyter_core==4.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::llvmlite==0.9.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::sphinx==1.3.5=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::markupsafe==0.23=py27_0
  - conda-forge/osx-64::requests==2.22.0=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::astropy==1.1.2=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::lxml==3.6.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::blaze==0.9.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::chest==0.2.3=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pytest==2.8.5=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::boto==2.39.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::argcomplete==1.0.0=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::matplotlib==1.5.1=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::funcsigs==0.4=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::rope==0.9.4=py27_1
  - https://repo.continuum.io/pkgs/free/osx-64::appscript==1.0.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::sympy==1.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::conda-env==2.4.5=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::ipaddress==1.0.14=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::mkl-service==1.1.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pep8==1.7.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::dynd-python==0.7.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::flask-cors==2.1.2=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::numpy==1.10.4=py27_0
  - conda-forge/osx-64::conda==4.7.11=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::pyzmq==15.2.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::xlsxwriter==0.8.4=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::gevent==1.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::backports_abc==0.4=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::scikit-image==0.12.3=np110py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::itsdangerous==0.24=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::bokeh==0.11.1=py27_0
  - https://repo.continuum.io/pkgs/free/osx-64::xlwt==1.0.0=py27_0
failed
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining sphinxcontrib-serializinghtml:  55%|▌| 230/421 [00:00<00:00, 5733.64itExamining rtree:  55%|████████████          | 231/421 [00:00<00:00, 5735.55it/s]Examining icu:  87%|████████████████████▊   | 365/421 [00:00<00:00, 5576.01it/s]
Comparing sp- s that have this dependency:   0%|         | 0/16 [00:00<?, ?it/s]
Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/2 [0Finding shortest con| ict path for icu[version='>=64.2,<65.0a0']:  50%|▌| 1/2 [0Finding shortest conflict path for icu[version='>=64.2,<65.0a0']: 100%|█| 2/2 [0Comparing sp/ s that have this dependency:   6%| | 1/16 [00:08<02:05,  8.37s/it]Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/2 [0Finding shortest con/ ict path for icu[version='>=64.2,<65.0a0']:  50%|▌| 1/2 [0Comparing sp\ s that have this dependency:  12%|▏| 2/16 [00:09<01:06,  4.77s/it]Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/2 [0Finding shortest con/ ict path for icu[version='>=64.2,<65.0a0']:  50%|▌| 1/2 [0Finding shortest conflict path for icu[version='>=64.2,<65.0a0']: 100%|█| 2/2 [0Comparing sp| s that have this dependency:  19%|▏| 3/16 [00:10<00:46,  3.60s/it]Finding shortest con| ict path for icu[version='>=64.2,<65.0a0']:  50%|▌| 1/2 [0Finding shor/ st conflict path for icu[version='>=64.2,<65.0a0']: 100%|█| 2/2 [0Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/1 [0Comparing specs that have this dependency:  31%|▎| 5/16 [00:27<01:00,  5.51s/it]Finding shortest conflict path for icu[version='>=64.2,<65.0a0']:   0%| | 0/1 [0            \                                                                   Comparing sp\ s that have this dependency:  44%|▍| 7/16 [00:33<00:42,  4.75s/it]Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/2 [0Finding shortest con\ ict path for icu[version='>=64.2,<65.0a0']:  50%|▌| 1/2 [0Finding shortest conflict path for icu[version='>=64.2,<65.0a0']: 100%|█| 2/2 [0Comparing sp/ s that have this dependency:  50%|▌| 8/16 [00:36<00:36,  4.50s/it]Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/1 [0Comparing sp/ s that have this dependency:  56%|▌| 9/16 [00:52<00:40,  5.85s/it]Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/5 [0Finding sho| est conflict path for icu==58.2=h4b95b61_1:  20%|▏| 1/5 [00:20<01:2Finding shortest conflict path for icu==58.2=h4b95b61_1:  40%|▍| 2/5 [00:20<0\ 3Finding shortest conflict path for icu:  40%|██   | 2/5 [00:21<00:30, 10.04s/it]Finding shortest conflic- pthread_cond_wait: Resource busy.0a0']:  60%|▌| 3/5/  Finding shortest conflict path for icu[version='>=64.2,<65.0a0']:  80%|▊| 4/5 [1Finding shortes- conflict path for icu==58.2=hea21ae5_0:  80%|▊| 4/5 [1:16:18<20Finding shortest conflict path for icu==58.2=hea21ae5_0: 100%|█| 5/5 [1:16:18<00Comparing specs that have this dependency:  62%|▋| 10/16 [1:17:20<46:24, 464.01s/it]        -
Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/1 [0Comparing specs that have this dependency:  69%|▋| 11/16 [1:17:20<35:09, 421.86s/it]        \
Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/1 [0Comparing specs that have this dependency:  75%|▊| 12/16 [1:17:20<25:46, 386.72s/it]
Finding shortest conflict path for icu[version='>=64.2,<65.0a0']:   0%| | 0/1 [0                                                                                Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/1 [0            -                                                                   Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/2 [0Finding shortest con\ ict path for icu[version='>=64.2,<65.0a0']:  50%|▌| 1/2 [0Finding shortest conflict path for icu[version='>=64.2,<65.0a0']: 100%|█| 2/2 [0Comparing specs that have this dependency:  94%|▉| 15/16 [1:17:36<05:10, 310.44s/it]        /
Finding shortest conflict path for icu[version='>=58.2,<59.0a0']:   0%| | 0/1 [0Comparing specs that have this dependency: 100%|█| 16/16 [1:17:40<00:00, 291.31sExamining backports.shutil_get_terminal_size:  88%|▉| 371/421 [1:17:40<10:35, 12Examining defusedxml:  88%|███████████████  | 372/421 [1:17:40<10:22, 12.70s/it]Examining backports.functools_lru_cache:  97%|▉| 410/421 [1:17:40<02:19, 12.70s/Examining libffi:  98%|████████████████████▌| 411/421 [1:17:40<02:07, 12.70s/ifailed

UnsatisfiableError: The following specifications were found to be incompatible with each other:



Package icu conflicts for:
qtconsole -> pyqt[version='>=5.9.2,<5.10.0a0'] -> qt=5.9 -> icu[version='>=58.2,<59.0a0']
anaconda-navigator -> pyqt[version='>=5.6,<6.0a0'] -> qt=5.6 -> icu[version='>=58.2,<59.0a0']
imagemagick -> fontconfig[version='>=2.13.1,<3.0a0'] -> icu[version='>=64.2,<65.0a0']
conda[version='>=4.7.11'] -> conda-package-handling[version='>=1.3.0'] -> libarchive[version='>=3.3.3'] -> libxml2[version='>=2.9.8,<2.10.0a0'] -> icu[version='>=58.2,<59.0a0|>=64.2,<65.0a0']
pyqt -> qt=5.6 -> icu[version='>=58.2,<59.0a0']
anaconda -> icu[version='58.2|>=58.2,<59.0a0',build='h4b95b61_1|hea21ae5_0']
jupyter -> qtconsole -> pyqt[version='>=5.9.2,<5.10.0a0'] -> qt=5.9 -> icu[version='>=58.2,<59.0a0']
gobject-introspection -> cairo[version='>=1.16.0,<1.17.0a0'] -> icu[version='>=58.2,<59.0a0|>=64.2,<65.0a0']
conda-package-handling -> libarchive[version='>=3.3.3'] -> libxml2[version='>=2.9.8,<2.10.0a0'] -> icu[version='>=58.2,<59.0a0|>=64.2,<65.0a0']
spyder -> pyqt=5 -> qt=5.9 -> icu[version='>=58.2,<59.0a0']
anaconda -> _anaconda_depends -> icu[version='>=64.2,<65.0a0']
gdk-pixbuf -> gobject-introspection -> cairo[version='>=1.16.0,<1.17.0a0'] -> icu[version='>=58.2,<59.0a0|>=64.2,<65.0a0']
python-libarchive-c -> libarchive -> libxml2[version='>=2.9.8,<2.10.0a0'] -> icu[version='>=58.2,<59.0a0|>=64.2,<65.0a0']
conda-build -> libarchive -> libxml2[version='>=2.9.8,<2.10.0a0'] -> icu[version='>=58.2,<59.0a0|>=64.2,<65.0a0']
libxslt -> icu[version='>=58.2,<59.0a0']
librsvg -> cairo[version='>=1.16.0,<1.17.0a0'] -> icu[version='>=64.2,<65.0a0']
lxml -> libxml2[version='>=2.9.9,<2.10.0a0'] -> icu[version='>=58.2,<59.0a0']

我每次尝试使用建议的here的不同方法时,都会感觉到“搜索不兼容的软件包”,我敢打赌无论我尝试什么,都会得到结果。但是,此命令终止需要花费几个小时,因此我无法对其进行测试。

sophros在this topic中的回答指出,这是一个已知的错误,但是除了说该错误尚未解决之外,没有其他解决方法。

那么,到目前为止,我已经尝试过什么方法来解决此问题?这个问题使我的研究不合时宜。

0 个答案:

没有答案