UnsatisfiableError:发现以下规范彼此不兼容:

2024-04-03

我在 Ubuntu 16.04 上运行,并且遇到了 Anaconda 问题。 由于软件包不一致,我无法再安装、更新或删除软件包。

$ conda info
NVIDIA: no NVIDIA devices found

     active environment : None 
            shell level : 0
       user config file : /home/ubuntu/.condarc
 populated config files : /home/ubuntu/.condarc
          conda version : 4.7.5
    conda-build version : 3.2.2
         python version : 2.7.15.final.0
       virtual packages : 
       base environment : /home/ubuntu/anaconda  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/ubuntu/anaconda/pkgs
                          /home/ubuntu/.conda/pkgs
       envs directories : /home/ubuntu/anaconda/envs
                          /home/ubuntu/.conda/envs
               platform : linux-64
             user-agent : conda/4.7.5 requests/2.21.0 CPython/2.7.15 Linux/4.4.0-161-generic ubuntu/16.04.6 glibc/2.23
                UID:GID : 1000:1000
             netrc file : None 
           offline mode : False

我尝试了这个问题中的所有建议,但没有任何效果:

环境不一致,请仔细查看套餐方案 https://stackoverflow.com/questions/55527354/the-environment-is-inconsistent-please-check-the-package-plan-carefully

Also

“如何修复“UnsatisfiableError:发现以下规范彼此不兼容”” https://stackoverflow.com/questions/57150825/how-to-fix-unsatisfiableerror-the-following-specifications-were-found-to-be-i E.g. -

$ conda activate base 
$ conda update conda-build
$ conda update conda-build
$conda update --all
$ conda install anaconda
$ conda install -c anaconda anaconda
$ conda install gxx_impl_linux-64

这是完整的输出:

buntu@ip-10-0-1-71:~/clamav-devel$ conda list gxx_impl_linux-64   
# packages in environment at /home/ubuntu/anaconda:
#
# Name                    Version                   Build  Channel 
gxx_impl_linux-64         7.3.0                hdf63c60_1
ubuntu@ip-10-0-1-71:~/clamav-devel$ conda install gxx_impl_linux-64
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only using the old .tar.bz2 file format because you have conda-build installed, and it is <3.18.3.  Update or remove conda-build t
o get smaller downloads and faster extractions.
Collecting package metadata (repodata.json): - NVIDIA: no NVIDIA devices founddone
Solving environment: /
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:                         -
  - conda-forge/linux-64::zstd==1.4.0=h3b9ef0a_0
  - https://repo.continuum.io/pkgs/free/linux-64::binstar==0.11.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::sphinx_rtd_theme==0.1.9=py27_0
  - featuretools/linux-64::featuretools==0.3.0=np111py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::xlsxwriter==0.8.4=py27_0
  - defaults/linux-64::gxx_impl_linux-64==7.3.0=hdf63c60_1
  - defaults/linux-64::cffi==1.11.5=py27he75722e_1
  - defaults/linux-64::curl==7.62.0=hbc83047_0
  - defaults/linux-64::h5py==2.8.0=py27h989c5e5_3
  - defaults/linux-64::absl-py==0.6.1=py27_0
  - defaults/linux-64::jupyterlab_launcher==0.11.2=py27h28b3542_0  
  - https://repo.continuum.io/pkgs/free/linux-64::pyflakes==1.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::unicodecsv==0.14.1=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::sqlalchemy==1.0.12=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::xlwt==1.0.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::spyder==2.3.8=py27_1
  - https://repo.continuum.io/pkgs/free/linux-64::clyent==1.2.1=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::contextlib2==0.5.4=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::flask-cors==2.1.2=py27_0
  - defaults/linux-64::tensorboard==1.12.0=py27hf484d3e_0
  - https://repo.anaconda.com/pkgs/free/linux-64::pycurl==7.19.0=py27_0
  - defaults/linux-64::gcc_linux-64==7.3.0=h553295d_3
  - defaults/linux-64::libxml2==2.9.9=hea5a465_1
  - defaults/linux-64::networkx==2.2=py27_1
  - defaults/linux-64::cytoolz==0.9.0=py27h14c3975_0
  - https://repo.continuum.io/pkgs/free/linux-64::ipython-notebook==4.0.4=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::bcolz==1.0.0=py27_0
  - defaults/linux-64::distributed==1.23.1=py27_0
  - defaults/linux-64::sortedcontainers==2.0.5=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::mistune==0.7.2=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::chest==0.2.3=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::beautifulsoup4==4.4.1=py27_0
  - defaults/linux-64::future==0.16.0=py27_2
  - <unknown>/linux-64::docutils==0.12=py27_0
  - defaults/linux-64::nose==1.3.7=py27_2
  - defaults/linux-64::numpy==1.14.2=py27hdbf6ddf_0
  - conda-forge/linux-64::lz4-c==1.8.3=he1b5a44_1001
  - <unknown>/linux-64::runipy==0.1.3=py27_0
  - <unknown>/linux-64::itsdangerous==0.24=py27_0
  - defaults/linux-64::futures==3.2.0=py27_0
  - defaults/linux-64::toolz==0.9.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::gevent==1.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::jinja2==2.8=py27_0
  - defaults/linux-64::libgcc-ng==8.2.0=hdf63c60_1
  - <unknown>/linux-64::ssl_match_hostname==3.4.0.2=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::pytz==2016.2=py27_0
  - conda-forge/linux-64::jupyter_contrib_core==0.3.3=py27_0
  - defaults/linux-64::asn1crypto==0.24.0=py27_0
  - defaults/linux-64::keras-preprocessing==1.0.5=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::scikit-learn==0.18.1=np111py27_nomkl_1
 https://repo.continuum.io/pkgs/free/linux-64::alabaster==0.7.7=py27_0
  - defaults/linux-64::pysocks==1.6.8=py27_0
  - conda-forge/linux-64::subprocess32==3.2.7=py27_0
  - conda-forge/linux-64::audioread==2.1.4=py27_1
  - https://repo.continuum.io/pkgs/free/linux-64::ptyprocess==0.5=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::ipython_genutils==0.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::mpmath==0.19=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::traitlets==4.2.1=py27_0
  - conda-forge/linux-64::nltk==3.2.4=py27_0
  - defaults/linux-64::python==2.7.15=h9bab390_4
  - https://repo.continuum.io/pkgs/free/linux-64::datashape==0.5.1=py27_0
  - anaconda/linux-64::joblib==0.13.0=py27_0
  - defaults/linux-64::scipy==1.1.0=py27h7c811a0_2
  - defaults/linux-64::partd==0.3.8=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::ipaddress==1.0.14=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::blaze==0.9.1=py27_0
  - conda-forge/linux-64::scikit-image==0.12.3=np111py27_1
  - https://repo.continuum.io/pkgs/free/linux-64::greenlet==0.4.9=py27_0
  - defaults/linux-64::ncurses==6.1=hf484d3e_0
  - https://repo.continuum.io/pkgs/free/linux-64::qt==4.8.7=1
  - defaults/linux-64::werkzeug==0.14.1=py27_0
  - defaults/linux-64::gast==0.2.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::ruamel_yaml==0.11.14=py27_1
  - https://repo.continuum.io/pkgs/free/linux-64::ply==3.8=py27_0  
  - defaults/linux-64::plotly==3.4.2=py27h28b3542_0
  - https://repo.continuum.io/pkgs/free/linux-64::abstract-rendering==0.5.1=np111py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::pyasn1==0.1.9=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::markdown==2.6.9=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::mako==1.0.6=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::html5lib==0.9999999=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::openpyxl==2.3.2=py27_0
  - conda-forge/linux-64::statsmodels==0.8.0=np111py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::six==1.10.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::lxml==3.6.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::sympy==1.0=py27_0
  - defaults/linux-64::c-ares==1.15.0=h7b6447c_1
  - <unknown>/linux-64::py2cairo==1.10.0=py27_2
  - defaults/linux-64::decorator==4.3.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::multipledispatch==0.4.8=py27_0
  - defaults/linux-64::s3transfer==0.1.13=py27_0
  - defaults/linux-64::pympler==0.5=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::pycparser==2.14=py27_0
  - <unknown>/linux-64::markupsafe==0.23=py27_0
  - defaults/linux-64::flask==0.12.2=py27h6d5c1cd_0
  - <unknown>/linux-64::rope==0.9.4=py27_1
  - conda-forge/linux-64::jupyter_nbextensions_configurator==0.2.7=py27_0
  - defaults/linux-64::conda-build==3.2.2=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::spyder-app==2.3.8=py27_0
  - conda-forge/linux-64::pytables==3.3.0=np111py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::argcomplete==1.0.0=py27_1
  - conda-forge/linux-64::xz==5.2.4=h14c3975_1001
  - defaults/linux-64::pycosat==0.6.3=py27ha4109ae_0
  - https://repo.continuum.io/pkgs/free/linux-64::snowballstemmer==1.2.1=py27_0
  - defaults/linux-64::sqlite==3.25.3=h7b6447c_0
  - defaults/linux-64::unittest2==1.1.0=py27_0
  - defaults/linux-64::zict==0.1.3=py27_0
  - defaults/linux-64::backports==1.0=py27h63c9359_1
  - https://repo.continuum.io/pkgs/free/linux-64::ipython==4.1.2=py27_1
  - conda-forge/linux-64::resampy==0.1.5=np111py27_1
  - defaults/linux-64::jupyter==1.0.0=py27_7
  - https://repo.continuum.io/pkgs/free/linux-64::jupyter_core==4.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::sockjs-tornado==1.0.1=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::singledispatch==3.4.0.3=py27_0
- conda-forge/linux-64::resampy==0.1.5=np111py27_1
  - defaults/linux-64::jupyter==1.0.0=py27_7
  - https://repo.continuum.io/pkgs/free/linux-64::jupyter_core==4.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::sockjs-tornado==1.0.1=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::singledispatch==3.4.0.3=py27_0
  - conda-forge/linux-64::openssl==1.1.1b=h14c3975_1
  - https://conda.binstar.org/auto/linux-64::libpgm==1.2=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::backports.weakref==1.0rc1=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::filelock==2.0.7=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::conda-manager==0.3.1=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::numexpr==2.6.2=np111py27_nomkl_0
  - conda-forge/linux-64::zeromq==4.2.5=hfc679d8_4
  - defaults/linux-64::libffi==3.2.1=hd88cf55_4
  - defaults/linux-64::hdf5==1.10.2=hba1933b_1
  - https://repo.continuum.io/pkgs/free/linux-64::py4j==0.10.6=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::fontconfig==2.11.1=5
  - conda-forge/linux-64::patsy==0.4.1=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::psutil==4.1.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::sphinx==1.3.5=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::babel==2.2.0=py27_0
  - defaults/linux-64::pygpu==0.7.6=py27h035aef0_0
  - conda-forge/linux-64::python-libarchive-c==2.8=py27_1004
  - defaults/linux-64::libssh2==1.8.0=h1ba5d50_4
  - <unknown>/linux-64::beautiful-soup==4.3.2=py27_0
  - defaults/linux-64::tensorflow-base==1.12.0=mkl_py27h3c3e929_0  
  - defaults/linux-64::click==6.7=py27h4225b90_0
  - defaults/linux-64::linecache2==1.0.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::locket==0.2.0=py27_0
  - conda-forge/linux-64::conda==4.7.5=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::qtawesome==0.3.2=py27_0
  - defaults/linux-64::cloudpickle==0.5.5=py27_0
  - defaults/linux-64::cython==0.28.5=py27hf484d3e_0
  - https://repo.continuum.io/pkgs/free/linux-64::terminado==0.5=py27_1
  - defaults/linux-64::cryptography==2.4.1=py27h1ba5d50_0
  - defaults/linux-64::pyyaml==3.12=py27h2d70dd7_1
  - https://repo.continuum.io/pkgs/free/linux-64::heapdict==1.0.0=py27_0
  - defaults/linux-64::grpcio==1.16.1=py27hf8bcb03_1
  - defaults/linux-64::traceback2==1.4.0=py27_0
  - defaults/linux-64::astor==0.7.1=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::pyqt==4.11.4=py27_1
  - https://repo.continuum.io/pkgs/free/linux-64::wheel==0.29.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::dill==0.2.4=py27_0
  - defaults/linux-64::mkl-service==1.1.2=py27he904b0f_5
  - https://repo.continuum.io/pkgs/free/linux-64::py==1.4.31=py27_0
  - <unknown>/linux-64::redis-py==2.10.3=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::anaconda-navigator==1.1.0=py27_0
  - defaults/linux-64::zlib==1.2.11=ha838bed_2
  - defaults/linux-64::tblib==1.3.2=py27h51fe5ba_0
  - https://repo.continuum.io/pkgs/free/linux-64::simplegeneric==0.8.1=py27_0
  - conda-forge/linux-64::libsodium==1.0.16=h470a237_1
  - defaults/linux-64::s3fs==0.1.6=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::sip==4.16.9=py27_0
  - defaults/linux-64::libprotobuf==3.6.1=hd408876_0
  - https://repo.continuum.io/pkgs/free/linux-64::pyspark==2.2.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::bleach==1.5.0=py27_0
  - https://repo.continuum.io/pkgs/free/linux-64::python-dateutil==2.5.1=py27_0
...

Update:

1. On Ubuntu 16.06, I tried exporting the ‘base’ and ‘ai’ environments to .yml files, deleted ~/anaconda, reinstalled Anaconda and tried to restore my ‘ai’ environment.
condo complained about hundred of conflicts.

-rwxr-xr-x    1 ubuntu ubuntu 499266771 Sep 11 16:57 Anaconda2-2019.07-Linux-x86_64.sh

$ conda env create -f ai_environment.yml 
NVIDIA: no NVIDIA devices found
Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies.  Conda may not use the correct pip to install your packages, and they may end up in the wrong place.  Please add an explicit pip dependency.  I'm adding one for you, but still nagging you.
Collecting package metadata (repodata.json): / NVIDIA: no NVIDIA devices found
done
Solving environment: - 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining backports.shutil_get_terminal_size:  21%|▏| 65/316 [00:00<00:00, 4464.Examining pyserial:  21%|████▏               | 66/316 [00:00<00:00, 4488.21it/s]Examining jupyter_nbextensions_configurator:  66%|▋| 210/316 [00:00<00:00, 4888.Examining packaging:  67%|████████████      | 211/316 [00:00<00:00, 4900.24it/s]Examining sphinxcontrib-serializinghtml:  88%|▉| 277/316 [00:00<00:00, 4816.54itExamining astor:  88%|███████████████████▎  | 278/316 [00:00<00:00, 4820.70itfailed                                                                             

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



Package pyzmq conflicts for:
jupyter_client==5.2.3=py36_0 -> pyzmq[version='>=13']
notebook==5.7.8=py36_0 -> pyzmq[version='>=17']
Package mkl conflicts for:
mkl_fft==1.0.10=py36_0 -> mkl
pytorch==0.4.0=py36hdf912b8_0 -> mkl[version='>=2018.0.2,<2019.0a0']
mkl_random==1.0.2=py36_0 -> mkl
Package ujson conflicts for:
spacy==2.0.12=py36h962f231_0 -> ujson[version='>=1.35']
Package jinja2 conflicts for:
notebook==5.7.8=py36_0 -> jinja2
nbconvert==5.5.0=py_0 -> jinja2
Package h5py conflicts for:
keras-base==2.2.4=py36_0 -> h5py
Package libsodium conflicts for:
pyzmq==17.0.0=py36h14c3975_0 -> libsodium
zeromq==4.2.5=h439df22_0 -> libsodium[version='>=1.0.16,<1.0.17.0a0']
Package keras-preprocessing conflicts for:
keras-base==2.2.4=py36_0 -> keras-preprocessing[version='>=1.0.5']
tensorflow==1.13.1=py36_0 -> keras-preprocessing[version='>=1.0.5']
Package murmurhash conflicts for:
spacy==2.0.12=py36h962f231_0 -> murmurhash[version='>=0.28,<0.29']
Package libgfortran-ng conflicts for:
hdf5==1.10.2=hba1933b_1 -> libgfortran-ng[version='>=7,<8.0a0']
libopenblas==0.3.3=h5a2b251_3 -> libgfortran-ng[version='>=7,<8.0a0']
blas==2.7=openblas -> libgfortran-ng[version='>=7,<8.0a0']
numpy-base==1.16.2=py36h2f8d375_0 -> libgfortran-ng[version='>=7,<8.0a0']
Package protobuf conflicts for:
chainer==4.2.0=py36_0 -> protobuf[version='>=3.0.0']
tensorflow==1.13.1=py36_0 -> protobuf[version='>=3.6.1']
tensorflow-tensorboard==1.5.1=py36hf484d3e_1 -> protobuf
tensorboard==1.13.1=py36_0 -> protobuf[version='>=3.4.0']
Package tk conflicts for:
python==3.6.7=h0371630_0 -> tk[version='>=8.6.8,<8.7.0a0']
Package blas conflicts for:
libcblas==3.8.0=7_openblas -> blas=[build=openblas]
scikit-learn==0.20.3=py36h22eb022_0 -> blas=[build=openblas]
libblas==3.8.0=7_openblas -> blas=[build=openblas]
liblapacke==3.8.0=7_openblas -> blas=[build=openblas]
numpy-base==1.16.2=py36h2f8d375_0 -> blas=[build=openblas]
nomkl==3.0=0 -> blas=[build=openblas]
liblapack==3.8.0=7_openblas -> blas=[build=openblas]
Package keras-applications conflicts for:
keras-base==2.2.4=py36_0 -> keras-applications[version='>=1.0.6']
tensorflow==1.13.1=py36_0 -> keras-applications[version='>=1.0.6']
Package ninja conflicts for:
pytorch==0.4.0=py36hdf912b8_0 -> ninja
Package requests conflicts for:
spacy==2.0.12=py36h962f231_0 -> requests[version='>=2.13.0,<3.0.0']
Package dbus conflicts for:
qt==5.9.7=h5867ecd_1 -> dbus[version='>=1.13.2,<2.0a0']
pyqt==5.9.2=py36h751905a_0 -> dbus[version='>=1.12.2,<2.0a0']
Package pandocfilters conflicts for:
nbconvert==5.5.0=py_0 -> pandocfilters[version='>=1.4.1']
Package liblapacke conflicts for:
libblas==3.8.0=7_openblas -> liblapacke==3.8.0=7_openblas
libcblas==3.8.0=7_openblas -> liblapacke==3.8.0=7_openblas
liblapack==3.8.0=7_openblas -> liblapacke==3.8.0=7_openblas
blas==2.7=openblas -> liblapacke==3.8.0=7_openblas
Package ptyprocess conflicts for:
pexpect==4.6.0=py36_0 -> ptyprocess[version='>=0.5']
terminado==0.8.1=py36_1 -> ptyprocess
Package nbformat conflicts for:
nbconvert==5.5.0=py_0 -> nbformat[version='>=4.4']
notebook==5.7.8=py36_0 -> nbformat
Package _libgcc_mutex conflicts for:
libgcc-ng==8.2.0=hdf63c60_1 -> _libgcc_mutex=[build=main]
Package cudnn conflicts for:
pytorch==0.4.0=py36hdf912b8_0 -> cudnn[version='>=7.1.2,<=8.0a0']
Package zeromq conflicts for:
pyzmq==17.0.0=py36h14c3975_0 -> zeromq[version='>=4.2.3,<4.3']
Package pygments conflicts for:
prompt_toolkit==2.0.9=py_0 -> pygments
ipython==7.5.0=py36h24bf2e0_0 -> pygments
nbconvert==5.5.0=py_0 -> pygments
Package plac conflicts for:
spacy==2.0.12=py36h962f231_0 -> plac[version='>=0.9.6,<1.0.0']
Package pango conflicts for:
graphviz==2.40.1=h21bd128_2 -> pango[version='>=1.42.1,<2.0a0']
Package python conflicts for:
tornado==5.0.2=py36_0 -> python[version='3.6.*|>=3.6,<3.7.0a0']
pycparser==2.18=py36hf9f622e_1 -> python[version='>=3.6,<3.7.0a0']
jupyter_core==4.4.0=py36h7c827e3_0 -> python[version='>=3.6,<3.7.0a0']
murmurhash==0.28.0=py36_0 -> python=3.6
python-dateutil==2.7.3=py36_0 -> python[version='>=3.6,<3.7.0a0']
filelock==3.0.4=py36_0 -> python[version='3.6.*|>=3.6,<3.7.0a0']
multicore-tsne==0.1_d4ff4aab=py36h3e44d54_0 -> python[version='>=3.6,<3.7.0a0']
pexpect==4.6.0=py36_0 -> python[version='>=3.6,<3.7.0a0']
idna==2.7=py36_0 -> python[version='>=3.6,<3.7.0a0']
tblib==1.3.2=py36h34cf8b6_0 -> python[version='>=3.6,<3.7.0a0']
astor==0.6.2=py36_0 -> python[version='>=3.6,<3.7.0a0']
jupyterlab==0.32.1=py36_0 -> python[version='>=3.6,<3.7.0a0']
scikit-learn==0.20.3=py36h22eb022_0 -> python[version='>=3.6,<3.7.0a0']
numpy-base==1.16.2=py36h2f8d375_0 -> python[version='>=3.6,<3.7.0a0']
jupyterlab_launcher==0.10.5=py36_0 -> python[version='3.6.*|>=3.6,<3.7.0a0']
kiwisolver==1.0.1=py36h764f252_0 -> python[version='>=3.6,<3.7.0a0']
ujson==1.35=py36_0 -> python=3.6
cycler==0.10.0=py36h93f1223_0 -> python[version='>=3.6,<3.7.0a0']
boto==2.48.0=py36h6e4cd66_1 -> python[version='>=3.6,<3.7.0a0']
ipykernel==5.1.1=py36h24bf2e0_0 -> python[version='>=3.6,<3.7.0a0']
six==1.12.0=py36_0 -> python[version='>=3.6,<3.7.0a0']
requests==2.22.0=py36_1 -> python[version='>=3.6,<3.7.0a0']
pyemd==0.5.1=py36ha8d69ae_0 -> python[version='>=3.6,<3.7.0a0']
tensorflow-probability==0.5.0=py_1 -> python
chainer==4.2.0=py36_0 -> python[version='>=3.6,<3.7.0a0']
docutils==0.14=py36hb0f60f5_0 -> python[version=
…

2. I tried exporting my ‘ai’ environment from my Mac and importing it on Ubuntu 16.06. I
failed because of missing packages. Are these packages that I built from source that conda can’t find?


(base) ubuntu@ip-10-0-1-71:~$ conda env create -f ai_mac_environment.yml 
NVIDIA: no NVIDIA devices found
Collecting package metadata (repodata.json): | NVIDIA: no NVIDIA devices found
done
Solving environment: failed

ResolvePackageNotFound: 
  - pymongo==3.7.2=py36h0a44026_0
  - pygpu==0.7.6=py36h917ab60_1000
  - gensim==3.4.0=py36h1de35cc_0
  - pytorch==1.1.0=py3.6_0
  - ninja==1.9.0=h04f5b5a_0
  - matplotlib==2.2.2=py36ha7267d0_0
  - graphviz==2.38.0=hbeef861_8
  - openssl==1.1.1=h1de35cc_0
  - scikit-learn==0.20.3=py36hebd9d1a_0
  - libgpuarray==0.7.6=h1de35cc_1003
  - kiwisolver==1.1.0=py36h770b8ee_0
  - tornado==6.0.2=py36h01d97ff_0
  - python==3.6.7=haf84260_0
  - libopenblas==0.3.3=hdc02c5d_3
  - tensorboard==1.12.2=py36haf313ee_0
  - msgpack-python==0.6.1=py36h04f5b5a_0
  - grpcio==1.12.1=py36hd9629dc_0
  - webencodings==0.5.1=py36_0
  - tensorflow-base==1.12.0=mkl_py36h70e0e9a_0
  - pandoc==2.2.1=hde52d81_0
  - appnope==0.1.0=py36_0
  - boto==2.48.0=py36hdbc59ac_1
  - libprotobuf==3.6.1=hd9629dc_1000
  - protobuf==3.6.1=py36h0a44026_1001
  - xz==5.2.4=h1de35cc_4
  - python-crfsuite==0.9.6=py36h04f5b5a_1000
  - readline==7.0=hc1231fa_4
  - thinc==6.10.1=py36h17d75cb_0
  - libgfortran==3.0.1=h93005f0_2
  - scipy==1.2.1=py36hbd7caa9_1
  - cymem==1.31.2=py36hfc679d8_0
  - numpy-base==1.16.2=py36ha711998_0
  - openblas==0.3.5=h436c29b_1001
  - numpy==1.16.2=py36hbb3c62a_1
  - cryptography==2.3.1=py36ha12b0ac_2
  - tensorflow==1.12.0=mkl_py36h2b2bbaf_0

3. I tried reverting conda to rev 0 after reinstalling Anaconda2-2019.07-Linux-x86_64.sh

4. I tried to install my previous environment with 
$ conda env create -f ai_environment.yml 
This got hundreds of conflicts

5. I tried to install my mac environment with:
$ conda env create -f ai_mac_environment_1.yml 
this got ResolvePackageNotFound: with 38 missing packages.

6. I deleted the missing packages from ai_mac_environment_1.yml and tried again.
NVIDIA: no NVIDIA devices found
Collecting package metadata (repodata.json): \ NVIDIA: no NVIDIA devices found
done
Solving environment: failed

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



Package libpng conflicts for:
pillow==5.2.0=py36h2dc6135_1 -> freetype[version='>=2.8,<2.9.0a0'] -> libpng[version='1.6.*,>=1.6.23,<1.7,>=1.6.27,<1.7,>=1.6.32,<1.6.35,>=1.6.34,<1.7.0a0']
freetype==2.8.1=0 -> libpng[version='1.6.*,>=1.6.23,<1.7,>=1.6.27,<1.7,>=1.6.32,<1.6.35,>=1.6.34,<1.7.0a0']
bokeh==1.0.1=py36_1000 -> pillow[version='>=4.0'] -> freetype[version='2.7|2.7.*,>=2.8,<2.9.0a0,>=2.9.1,<3.0a0'] -> libpng[version='1.6.*,>=1.6.23,<1.7,>=1.6.27,<1.7,>=1.6.32,<1.6.35,>=1.6.34,<1.7.0a0']
libpng==1.6.34=ha92aebf_1
seaborn==0.9.0=py_0 -> matplotlib[version='>=1.4.3'] -> pyqt[version='4.*,5.*,5.6.*,5.9.*,>=5.9.2,<5.10.0a0'] -> qt[version='4.8.*,5.6.*,>=4.8.6,<5.0,>=5.6.2,<5.7.0a0'] -> gtk2 -> pango[version='1.40.*,>=1.40.14,<1.41.0a0,>=1.42.4,<1.43.0a0'] -> harfbuzz[version='0.9.*,>=1.7.6,<1.8.0a0,>=1.7.6,<2.0a0,>=1.9.0,<2.0a0,>=2.4.0,<3.0a0'] -> cairo[version='1.14.*,>=1.14.12,<1.15.0a0,>=1.14.12,<2.0a0,>=1.16.0,<1.17.0a0'] -> fontconfig[version='2.11.1,2.12.*,>=2.12.4,<3.0a0,>=2.13.1,<3.0a0'] -> freetype[version='2.5.*,2.6.*,2.8.1,>=2.8,<2.9.0a0,>=2.8.1,<2.9.0a0,>=2.9.1,<3.0a0'] -> libpng[version='1.6.*,>=1.6.23,<1.7,>=1.6.27,<1.7,>=1.6.32,<1.6.35,>=1.6.34,<1.7.0a0']
torchvision==0.2.1=py_2 -> pillow[version='>=4.1.1'] -> freetype[version='2.7|2.7.*,>=2.8,<2.9.0a0,>=2.9.1,<3.0a0'] -> libpng[version='1.6.*,>=1.6.23,<1.7,>=1.6.27,<1.7,>=1.6.32,<1.6.35,>=1.6.34,<1.7.0a0']
pydot==1.3.0=py36_1000 -> graphviz -> pango[version='>=1.41.0,<2.0a0,>=1.42.1,<2.0a0,>=1.42.4,<1.43.0a0'] -> harfbuzz[version='0.9.*,>=1.7.6,<1.8.0a0,>=1.7.6,<2.0a0,>=1.9.0,<2.0a0,>=2.4.0,<3.0a0'] -> cairo[version='1.14.*,>=1.14.12,<1.15.0a0,>=1.14.12,<2.0a0,>=1.16.0,<1.17.0a0'] -> fontconfig[version='2.11.1,2.12.*,>=2.12.4,<3.0a0,>=2.13.1,<3.0a0'] -> freetype[version='2.5.*,2.6.*,2.8.1,>=2.8,<2.9.0a0,>=2.8.1,<2.9.0a0,>=2.9.1,<3.0a0'] -> libpng[version='1.6.*,>=1.6.23,<1.7,>=1.6.27,<1.7,>=1.6.32,<1.6.35,>=1.6.34,<1.7.0a0']


最终,我的 Anaconda 'ai' 环境和我的基础环境中的冲突 无法解决。我必须删除 ~/anaconda,从头开始重新安装它并手动重新安装所有软件包。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

UnsatisfiableError:发现以下规范彼此不兼容: 的相关文章

随机推荐

  • JSF 服务层

    我不确定我在 JSF 中使用 MVC 环境的方法是否是最好的方法 因为我试图充分利用 JSF 所以我想知道我的服务层 或模型 用 MVC 术语来说 应该如何 设计 我知道视图与控制器的比例应该是 1 比 1 排除例外 现在我应该以什么方式设
  • 从文件中 read() - 阻塞行为与非阻塞行为

    假设我们使用以下命令打开了一个文件fopen 并从收到的文件指针中 使用以下命令获取文件描述符fileno 然后我们做很多 gt 10 8 随机read 该文件中相对较小的块 大小在 4 字节到 10 KB 之间 这是预期的行为吗read
  • 测试有效输入 Python

    因此 我有一个完成的程序 它接受带有银行帐户信息的输入文件并对其进行解析并允许使用一些不同的实用程序 其中一个实用程序是将事务添加到 数据库 只是一个日志文件 程序提示用户输入 w 或 d 然后输入一个金额 浮点数 这代表存款或取款 X 金
  • Vstest.console.exe 找不到 nunit 测试

    我有 VS 2017 和 net 4 6 尝试使用 vstest console 通过 cmd 提示符运行时 vstest console exe bin Release Tests dll UseVsixExtensions true 我
  • 如何用css制作透明的羽毛首选项

    我想为一些图像添加羽毛 这是我想要最终得到的结果 我意识到这个问题之前已经发布过 并且我已经使用例如box shadow attr 但我对这个方法有一个问题 我要把这张照片放在webm 所以背景并不总是保持不变 这就是为什么我必须使羽毛透明
  • 如何将列表拆分为大小相等的块?

    如何将任意长度的列表拆分为大小相等的块 See also How to iterate over a list in chunks https stackoverflow com q 434287 To chunk strings see
  • 带 json 参数的 Curl GET 请求

    我正在尝试通过 cURL 从命令提示符向远程 REST API 发送 GET 请求 如下所示 curl X GET H Content type application json H Accept application json http
  • Flutter 如何将数据列表保存到本地存储

    我正在 flutter 上开发电影发现应用程序 我需要将正在播放的电影列表保存在本地存储上以供离线使用 那么我该怎么做 Future gt getNowPlayingMovies 异步 最终字符串现在正在播放 https api themo
  • 如何动态判断Objective-C属性类型?

    我正在尝试动态确定 Objective C 中属性的类型 根据我在本网站和其他地方读到的内容 我相信我正在做正确的事情 但是 我的代码不起作用 下面的代码片段演示了这个问题 尝试获取 backgroundColor 和 frame 的属性信
  • 使用 API 发布不包含图片、标题或元描述的链接 PHP

    使用 API 发帖时 我收到以下消息 https www facebook com weather warnings posts 329128793830700 https www facebook com weather warnings
  • EntityManager.createQuery() 抛出 NullPointerException

    每次都会遇到 NullPointerExceptionEntityManager createQuery or EntityManager createNamedQuery 叫做 我正在使用 Glassfish 4 0 Hibernate
  • 删除SQL Server中删除SQL文档后的弹出消息

    Goal 在 SQL Server 中移除 删除 SQL 文档时不显示弹出窗口 Problem 在我下载最新版本的 SQL Server 之前 当我删除 SQL 文档时 它没有显示任何有关状态的弹出窗口 当我下载最新版本的 SQL Serv
  • Django DateField 默认选项

    我有一个具有日期时间字段的模型 date models DateField Date default datetime now 当我在内置的 django admin 中检查应用程序时 DateField还附加了时间 因此如果您尝试保存它
  • 如何将联系人添加到 ActiveCampaign API v3 中的列表

    根据v3docs https developers activecampaign com v3 reference lists我应该能够使用联系人 API 将联系人添加到列表中 但我不知道如何执行此操作 因为我在下面看不到任何相关列表Con
  • 如何选择 PrimeFaces TreeTable 中的所有内容?

    我有一个 PrimeFaces 树表 想添加一个复选框 允许用户选择 取消选择全部 这是我的 xhtml 的摘录
  • LibGDX 路径 (CatmullRomSpline) 恒速

    我试图使用 LibGDX CatmullRomSpline 在路径上实现恒定速度 但在使其正常工作时遇到问题 我已经尝试对这个主题进行了很多研究 包括阅读 LibGDX wiki 但他们对实现恒定速度的解释并没有真正意义 我无法让他们的方法
  • 如何获取已安装的 OLE DB 提供程序的列表?

    Microsoft Excel 允许从 其他来源 导入数据 其中一种选择是使用 OLE DB 提供程序 如何获取可用 OLE DB 提供程序的列表 如果您有可用的 powershell 只需将其粘贴到 powershell 命令提示符中 f
  • 这是如何使用 CloudConfigurationManager 设置上下文连接字符串?

    我希望使用 CloudConfigurationManager 以便可以利用 Azure 配置文件 我想使用连接字符串 我在 Cloud cscfg 中添加了一个字符串来配置实体框架上下文 我像这样配置我的上下文 public Domain
  • SOFT_INPUT_ADJUST_RESIZE 从 android 30 开始已弃用

    I used SOFT INPUT ADJUST RESIZE为了在键盘弹出时显示所有内容 根据文档 我添加了新的代码片段 if Build VERSION SDK INT gt Build VERSION CODES R requireA
  • UnsatisfiableError:发现以下规范彼此不兼容:

    我在 Ubuntu 16 04 上运行 并且遇到了 Anaconda 问题 由于软件包不一致 我无法再安装 更新或删除软件包 conda info NVIDIA no NVIDIA devices found active environm