File: faq.rst

package info (click to toggle)
python-pygraphviz 1.3.1-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 664 kB
  • sloc: ansic: 4,970; python: 2,523; makefile: 152
file content (36 lines) | stat: -rw-r--r-- 1,286 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FAQ
---

   :Q: I followed the installation instructions but when I do

       >>> import pygraphviz 

       I get an error like
       ImportError: libagraph.so.1: cannot open shared object file: No
       such file or directory

       What is wrong?

   :A: Some Unix systems don't include the Graphviz library in the
       default search path for the run-time linker.  The path is often
       something like /usr/lib/graphviz or /sw/lib/graphviz etc. and
       it needs to be added to your search path.  You can

       1. set the LD_LIBRARY_PATH environment variable
          e.g. export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/graphviz

       2. configure your system with the additional path.
          e.g. for Linux add a line to /etc/ld.so.conf and
	  run ldconfig


   :Q: How do I compile pygraphviz under Windows?  And why
       don't you distribute a pygraphviz Windows installer?

   :A: We don't have Windows development machines but would like to
       have pygraphviz work on all platforms.  If you have success
       with Windows or would be willing to help test and distribute a
       Windows installer please drop us a note. 
       
       See also tickets: https://networkx.lanl.gov/trac/ticket/117
        https://networkx.lanl.gov/trac/ticket/491