On 02/09/2007 03:32 PM, Jens Müller wrote:
Jens Müller schrieb:
Tiago de Paula Peixoto schrieb:
Hi.
I'm pleased to announce version 1.0 of graph-tool. This version contains many new features, improvements and bug fixes. In fact, previous versions (0.9 namely) are considered deprecated, and should be avoided. ;-) From now on, hopefully, there should be no more radical changes on how things work between versions, and improvements should be more incremental.
OK, I'll try it out, tomorrow I'm gonna buy two more gigs of RAM anyway.
Did it - make; make install.
Now I get:
$ graph-tool Traceback (most recent call last): File "/usr/local/bin/graph-tool", line 22, in ? from libgraph_tool import * ImportError: No module named libgraph_tool
What do I have to do?
Well, if you did "make install" the libgraph_tool.so module should have been installed, by default, in a place where python could find it, and everything should have worked... Are you sure the prefix you used for the installation is the same where python is installed, and that the place where libgraph_tool.so ended up is known to the python interpreter (via the PYTHONPATH variable)? In any case, if you don't want to install it all, you can just put both graph-tool and libgraph_tool.so (found in src/graph/.libs after compilation) in the same directory, and it should work. -- Tiago de Paula Peixoto <tiago@forked.de>