python - Conda cannot install pydot-ng with python3 (Unsatisfiable error) -


i have anaconda 4.3.23 on ubuntu 16.04 lts. when try install pydot-ng package using

conda install pydot-ng 

i following error:

unsatisfiableerror: following specifications found in conflict: - pydot-ng -> python 2.7* -> openssl 1.0.1* - python 3.6* use "conda info <package>" see dependencies each package. 

upon running conda info pydot-ng see

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* 

what problem? shouldn't conda able install pydot-ng 1.0.0.15 py34_0 version compatible python 3.6 (i presume)?

that's not how conda works - package built specific version of python, unless package builder says universal package , can installed many versions. simplest solution create new environment install package:

conda create -n pydotng python=3.4 pydot-ng 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -