- 
                Notifications
    
You must be signed in to change notification settings  - Fork 223
 
Closed
Description
I have installed graphviz on my Mac using:
brew install graphviz
Every time I'm trying to install pygraphviz with:
pip install pygraphviz
I get the following results:
          Your Graphviz installation could not be found.
          1) You don't have Graphviz installed:
             Install Graphviz (http://graphviz.org)
          2) Your Graphviz package might incomplete.
             Install the binary development subpackage (e.g. libgraphviz-dev or similar.)
          3) You are using Windows
             There are no PyGraphviz binary packages for Windows but you might be
             able to build it from this source.  See
             http://networkx.lanl.gov/pygraphviz/reference/faq.html
          If you think your installation is correct you will need to manually
          change the include_dirs and library_dirs variables in setup.py to
          point to the correct locations of your graphviz installation.
          The current setting of library_dirs and include_dirs is:
          library_dirs=None
          include_dirs=None
          error: Error locating graphviz.
I have tried to specify library_path and include_path with the following command:
pip install graphviz --install-option="--include-path=/usr/local/include/graphviz/" --install-option="--library-path=/usr/local/lib/graphviz"
But it tells me:
error: option --include-path not recognized
I have tried with "include-dirs" and "library_dirs" too but without success.
How can I install it successfully? Should I built it from source?
andjelatodorovic
Metadata
Metadata
Assignees
Labels
No labels