On 09/29/2013 08:24 AM, Mark Howell wrote:
On 09/29/2013 03:18 AM, Tiago de Paula Peixoto wrote:
On 09/29/2013 12:05 AM, Mark Howell wrote:
On 09/28/2013 11:54 AM, Mark Howell wrote:
I am trying to use purge_vertices() with a vertex filter to efficiently remove vertices from a graph. I am seeing different behavior in version 2.2.18 and 2.2.25, both as prebuilt packages for Ubuntu precise (current "graph-tool" and "python-graph-tool" packages, respectively)
[snip]
Perhaps your build machine has a numpy 1.7 installed in /usr/local/lib/python2.7/dist-packages (or elsewhere) in addition to the standard Precise package in usr/lib/python2.7/dist-packages, and your graph-tool ./configure is finding that one to compile against?
Update... building numpy 1.7.1 from source and installing in default (/usr/local/lib) location is enough to get my test code to work with your python-graph-tool 2.2.25-1 deb package for Precise. I've left the Precise numpy 1.6.1 installed in /usr/lib so as not to wrestle with other deb package dependencies. The py environment finds the /usr/local/lib (1.7.1) one first. Cheers, Mark.