簡體   English   中英

嘗試安裝 Conda 環境時出錯

[英]Errors when trying to install a Conda Environment

在嘗試安裝 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

顯然,我試圖建立的環境有一條線為我掛斷了東西,即

conda install -c anaconda nb_conda 

通過逐行瀏覽每個環境要求,我能夠使其正常工作,而無需卸載或更改任何內容

除了基礎環境創建一個新的環境

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM