Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/324.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Conda无法使用python3安装pydot ng(不可满足的错误)_Python_Anaconda_Conda_Pydot - Fatal编程技术网

Conda无法使用python3安装pydot ng(不可满足的错误)

Conda无法使用python3安装pydot ng(不可满足的错误),python,anaconda,conda,pydot,Python,Anaconda,Conda,Pydot,我在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 &

我在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不能安装与python 3.6兼容的
pydot ng 1.0.0.15 py34_0
版本吗(我猜)?

这不是conda的工作方式-该软件包是为特定版本的python构建的,除非软件包生成器明确表示它是一个通用软件包,可以安装多个版本。最简单的解决方案是创建一个新环境来安装此软件包:

conda create -n pydotng python=3.4 pydot-ng

conda不是这样工作的——该包是为特定版本的Python构建的,除非包生成器明确表示它是一个通用包,可以安装多个版本。最简单的解决方案是创建一个新环境来安装此软件包:

conda create -n pydotng python=3.4 pydot-ng