Pygraphviz fail in buildout

152 views
Skip to first unread message

Steve Bennett

unread,
Oct 10, 2013, 1:59:27 AM10/10/13
to tardis...@googlegroups.com
Hi guys,

  I'm hitting this while installing MyTardis 3.5* on Centos 6.4:
----
...
Got html2text 3.200.3.
Getting distribution for 'poster'.
Got poster 0.8.1.
Getting distribution for 'requests'.
Got requests 2.0.0.
Download error on http://networkx.lanl.gov/wiki/download: [Errno 1] _ssl.c:490: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
Getting distribution for 'pygraphviz'.
Trying pkg-config
Package libcgraph was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcgraph.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcgraph' found
Package libcgraph was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcgraph.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcgraph' found
Trying dotneato-config
Failed to find dotneato-config

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

If you think your installation is correct you will need to manually
change the include_path and library_path variables in setup.py to
point to the correct locations of your graphviz installation.

The current setting of library_path and include_path is:
library_path=None
include_path=None

error: None
An error occurred when trying to install pygraphviz 1.2. Look above this message for any errors that were output by easy_install.
While:
  Installing django.
  Getting distribution for 'pygraphviz'.
Error: Couldn't install: pygraphviz 1.2
----

Hoping someone more familiar with buildout can explain what's going on here:

- Is the SSL certificate verify problem causing Pygraphviz to not be able to download and install, or are the two messages coincidental?
- Has anyone else been running into SSL certificate problems lately? I just went through a big painful round of this stuff a few weeks ago at a completely different site.
- Is there a workaround I could use, knowing that we don't have root on this box?

Thanks in advance,
Steve
* Hooray for actual version numbers!

Grischa Meyer

unread,
Oct 10, 2013, 2:36:40 AM10/10/13
to tardis...@googlegroups.com
Hi Steve

The SSL thing always shows up now but doesn't seem to be of importance for anything.

The quickest way to fix this error is removing pygraphviz from buildout, eg. add 'eggs -= pygraphviz' to the chef buildout if that's what you're using.

If you like you could also fix it by 'yum install graphviz-devel', but pygraphviz is not really needed, and maybe could be removed or we create a 'dev-only' buildout file.

Cheers
Grischa



--
You received this message because you are subscribed to the Google Groups "tardis-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tardis-devel...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Steve Bennett

unread,
Oct 10, 2013, 3:00:05 AM10/10/13
to tardis...@googlegroups.com
Thanks Grischa - yeah it builds ok without pygraphviz. Looks like you already ran into this before:


Steve
Reply all
Reply to author
Forward
0 new messages