I would like to install pydot and graphviz in my Python 3 Anaconda distribution, however, conda complains about a conflict between pydot and Python 3 :
UnsatisfiableError: The following specifications were found to be in conflict:
- pydot -> pyparsing 1.5.6 -> python 2.7*
- python 3.5*
Use "conda info <package>" to see the dependencies for each package.
I am on MacOS El Capitan.
I found this answer but it didn't help much since when I try to install Graphviz from their website they don't have any version for El Capitan.. So I can't even do step 1.
Any help would be appreciated (changing distribution is not an option..) !
GraphViz can be installed on El Capitan via MacPorts, as discussed here. After installing MacPorts itself, run:
The GraphViz-related ports are listed here.
pydot
can be installed from PyPI:The dependency of
pyparsing
that you see is an old version, which means that you are trying to install an old version ofpydot
. The latestpydot == 1.2.3
is available on PyPI.