尝试安装Conda环境时出现错误

时间:2019-08-26 08:58:09

标签: python python-3.x numpy pip anaconda

当尝试安装Conda环境时,我遇到了一系列严重的错误。看来我有很多冲突,但是不确定我应该删除/更改/如何解决该问题。

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

Package python conflicts for:
pip -> wheel -> setuptools -> certifi[version='>=2016.09'] -> python[version='>=2.7,<2.8.0a0,>=3.5,<3.6.0a0,>=3.7,<3.8.0a0']
matplotlib=3.0.0 -> numpy -> mkl_random -> python[version='>=3.5,<3.6.0a0']
nb_conda -> nb_conda_kernels[version='>=2.0.0'] -> notebook[version='>=4.2.0'] -> prometheus_client -> twisted -> service_identity -> attrs[version='>=16.0.0'] -> hypothesis -> enum34 -> python[version='>=2.7,<2.8.0a0']
numpy=1.15.2 -> mkl_random -> python[version='>=3.5,<3.6.0a0']
python=3.5
scipy=1.1.0 -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0'] -> mkl_random -> python[version='>=3.5,<3.6.0a0']
Package setuptools conflicts for:
scipy=1.1.0 -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0'] -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel -> setuptools
numpy=1.15.2 -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel -> setuptools
nb_conda -> nb_conda_kernels[version='>=2.0.0'] -> notebook[version='>=4.2.0'] -> prometheus_client -> twisted -> service_identity -> attrs[version='>=16.0.0'] -> hypothesis -> enum34 -> python[version='>=2.7,<2.8.0a0'] -> pip -> wheel -> setuptools
pip -> wheel -> setuptools
matplotlib=3.0.0 -> numpy -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel -> setuptools
python=3.5 -> pip -> wheel -> setuptools
Package certifi conflicts for:
pip -> wheel -> setuptools -> certifi[version='>=2016.09']
matplotlib=3.0.0 -> numpy -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel -> setuptools -> certifi[version='>=2016.09']
nb_conda -> nb_conda_kernels[version='>=2.0.0'] -> notebook[version='>=4.2.0'] -> prometheus_client -> twisted -> service_identity -> attrs[version='>=16.0.0'] -> hypothesis -> enum34 -> python[version='>=2.7,<2.8.0a0'] -> pip -> wheel -> setuptools -> certifi[version='>=2016.09']
scipy=1.1.0 -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0'] -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel -> setuptools -> certifi[version='>=2016.09']
numpy=1.15.2 -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel -> setuptools -> certifi[version='>=2016.09']
python=3.5 -> pip -> wheel -> setuptools -> certifi[version='>=2016.09']
Package wheel conflicts for:
numpy=1.15.2 -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel
nb_conda -> nb_conda_kernels[version='>=2.0.0'] -> notebook[version='>=4.2.0'] -> prometheus_client -> twisted -> service_identity -> attrs[version='>=16.0.0'] -> hypothesis -> enum34 -> python[version='>=2.7,<2.8.0a0'] -> pip -> wheel
pip -> wheel
python=3.5 -> pip -> wheel
matplotlib=3.0.0 -> numpy -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel
scipy=1.1.0 -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0'] -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel
Package pip conflicts for:
nb_conda -> nb_conda_kernels[version='>=2.0.0'] -> notebook[version='>=4.2.0'] -> prometheus_client -> twisted -> service_identity -> attrs[version='>=16.0.0'] -> hypothesis -> enum34 -> python[version='>=2.7,<2.8.0a0'] -> pip
matplotlib=3.0.0 -> numpy -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip
pip
numpy=1.15.2 -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip
python=3.5 -> pip
scipy=1.1.0 -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0'] -> mkl_random -> python[version='>=3.5,<3.6.0a0'] -> pip

2 个答案:

答案 0 :(得分:0)

除了基本环境之外,还创建一个新环境

答案 1 :(得分:0)

很明显,我要设置的环境只有一条线可以挂断我的东西,即

conda install -c anaconda nb_conda 

通过逐行浏览每个环境需求,我能够使它正常工作,而不必卸载或更改任何东西