[英]Install python 3.5 via conda get unsatisfiable error “backport.os”
[英]Conda cannot install pydot-ng with python3 (Unsatisfiable error)
我在Ubuntu 16.04 LTS上有Anaconda 4.3.23。 當我嘗試使用安裝pydot-ng軟件包時
conda install pydot-ng
我收到以下錯誤:
UnsatisfiableError: The following specifications were found to be in conflict:
- pydot-ng -> python 2.7* -> openssl 1.0.1*
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.
運行conda info pydot-ng
我看到了
pydot-ng 1.0.0.15 py27_0
------------------------
file name : pydot-ng-1.0.0.15-py27_0.tar.bz2
name : pydot-ng
version : 1.0.0.15
build string: py27_0
build number: 0
channel : defaults
size : 45 KB
arch : x86_64
date : 2015-09-09
license : MIT
md5 : 8b81a344723e64ec3545b5f030caca47
noarch : None
platform : linux
url : https://repo.continuum.io/pkgs/free/linux-64/pydot-ng-
1.0.0.15-py27_0.tar.bz2
dependencies:
pyparsing
python 2.7*
pydot-ng 1.0.0.15 py34_0
------------------------
file name : pydot-ng-1.0.0.15-py34_0.tar.bz2
name : pydot-ng
version : 1.0.0.15
build string: py34_0
build number: 0
channel : defaults
size : 46 KB
arch : x86_64
date : 2015-09-09
license : MIT
md5 : 13e3a10b45edfb38d91a51d6b3ccabc7
noarch : None
platform : linux
url : https://repo.continuum.io/pkgs/free/linux-64/pydot-ng-
1.0.0.15-py34_0.tar.bz2
dependencies:
pyparsing
python 3.4*
問題是什么? pydot-ng 1.0.0.15 py34_0
不能安裝與python 3.6兼容的pydot-ng 1.0.0.15 py34_0
版本嗎(我認為)?
這不是conda的工作方式-程序包是為特定版本的Python構建的,除非程序包構建器明確指出該程序包是通用程序包,並且可以安裝多個版本。 最簡單的解決方案是創建一個新環境來安裝此軟件包:
conda create -n pydotng python=3.4 pydot-ng
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.